[TYPO3-english] Caption problem in tt_content
ktt
kestutis98 at yahoo.com
Wed Dec 8 10:35:05 CET 2010
Hello,
I fixed previous Lightbox error in tt_content with Typoscript:
tt_content.image.20.1.imageLinkWrap >
tt_content.image.20.1.imageLinkWrap = 1
tt_content.image.20.1.imageLinkWrap {
enable.override = 1
# Add new typolink wrapping code
typolink {
target =
title.field = imagecaption
parameter.cObject = IMG_RESOURCE
parameter.cObject.file.import.data = TSFE:lastImageInfo|origFile
parameter.cObject.file.maxW = 800
parameter.cObject.file.maxH = 600
# Add the "rel" attribute needed to activate the lightbox effect.
# This assumes you want slimbox to be navigable
ATagParams = rel="lightbox[sb{field:uid}]"
ATagParams.insertData = 1
}
}
Now, when there are more images in Text w/image area, Lightbox opens the image with captions for all images. Is it possible to fix it?
Thank you in advance,
Ktt
More information about the TYPO3-english
mailing list