[TYPO3-english] How to get image caption displayed in lightbox?

Gunnar Jonsson gu-jonss at online.no
Mon Jun 9 16:52:14 CEST 2014


I have installed Colorbox (jQuery lightbox) "t3colorbox" in my Typo3 6.2.3 website based on bootstrap introduction package. The lightbox functions nice and fine. However, the image caption does not show up in the lightbox. 

I have tried to add the title in the following typoscript, then the text comes up, but not the actual caption for the image. The title for all images is then "file:current:caption".

tt_content.image.20.1.imageLinkWrap.linkParams.ATagParams.dataWrap = class="t3colorbox" data-rel="cbox{field:uid}" title="file:current:caption"

Is it someone who knows how to adjust the typoscript in order to get the image captions for each image to show up in the lightbox in t3colorbox?

regards,
Gunnar Jonsson


More information about the TYPO3-english mailing list