[TYPO3-english] Grid element with background-image

"HocomAdvies [  Wiechert Hooghwinkel "HocomAdvies [  Wiechert Hooghwinkel
Fri Apr 8 16:08:31 CEST 2016


Try to build a Grid Elements CE with a Background-image. Now after days of trying, I stil do not get any image visible in the FE. I’am able to create the CE in the BE and upload an image and I can see it on the page in the BE. Version Typo3 7.6.4 Latest version Gridelements.

This is what I have in my TS:

tt_content.gridelements_pi1.20.10.setup {
  achterAfbeelding < lib.gridelements.defaultGridSetup
  achterAfbeelding {
      columns {
      0 < .default
      0.wrap = <div class="small-12 medium-12 large-12 columns">|</div>
            wrap.override.stdWrap.cObject = COA
			wrap.override.stdWrap.cObject {
      10 = TEXT
      10.value = <div class="fullscreen has-image" style="background-image: url(/
      20 = IMG_RESOURCE
      20 {
      file.import.data = field:flexform_background_image
      30 = TEXT
      30.value = );">|</div>
    wrap.override.if.isTrue.field = flexform_background_image
    wrap = <div class="row">|</div>

And the XML form used:

    <meta type="array">
                <el type="array">   
	<background_image type="array">
    <TCEforms type="array">
        <config type="array">

What’s wrong? I tried several different config settings / xml structures but non of them shwowed up in the FE? 

Best Regards,

Wiechert Hooghwinkel

More information about the TYPO3-english mailing list