[TYPO3-english] Wrap an image from Page->resources with a link: parameter.data = file:current:image_link does not work...

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Fri Dec 19 15:24:44 CET 2014


Hello,

I have this snippet:

lib.headerImageSlide = COA
lib.headerImageSlide {
    10 = IMAGE
    10 {
        file {
            import =  uploads/media/
            import.data = levelmedia:-1, slide
            import.listNum = 0
            width.field = imagewidth
            width.wrap = |m
            height.field = imageheight
            height.wrap = |m
            treatIdAsReference = 1
        }
        stdWrap.typolink {
          #parameter=123 #This works
          parameter.data = file:current:image_link #Does not work
          ATagParams=class="myclass"
        }
    }
}


Now I want to wrap the image with a link defined under "image_link" with 
the image object...This does not work somehow...What am I doing wrong?

Any ideas?

Thanks in advance!
Regards,
Bert


More information about the TYPO3-english mailing list