[TYPO3-dev] Two different images for thumbnail and full view in Click-enlarge/lightbox

Sebastian Gebhard sebastiangebhard at hoch2.de
Thu Feb 4 11:20:06 CET 2010


Hi *,

I tried to render a magnifier icon into tt_content images which have 
click enlarge (image_zoom) enabled.

Therefor I overwrote tt_content.image.20.1.file:

tmp.file < tt_content.image.20.1.file
tt_content.image.20.1{
   file = GIFBUILDER
   file{
     XY = [10.w],[10.h]
     10 = IMAGE
     10.file < tmp.file
     20 = IMAGE
     20.file = fileadmin/gfx/lightbox.gif
     20.offset = 0,[10.h]-[20.h]
   }
}

But unfortunatelly the thumbnail and the enlarged image are both 
rendered from tt_content.image.20.1.file. So the images have equal size 
and enlarging is disabled.

Is there a way to manipulate only the thumbnail without affecting the 
enlarged image?

Kind regards,
Sebastian




More information about the TYPO3-dev mailing list