[TYPO3-english] 6.2 - Lightbox in extension

Jan Bednarik info at bednarik.org
Sun May 4 21:45:09 CEST 2014


Hi all,

I use this TS in 4.5 to create images with lightbox from my custom
extension:

plugin.tx_myext_pi1.image = IMAGE
plugin.tx_myext_pi1.image {
            file.import = uploads/tx_myext/
            file.import.current = 1
            file.maxH = 115
            imageLinkWrap < tt_content.image.20.1.imageLinkWrap
            imageLinkWrap {
                enable >
                enable = 1
            }
        }

However, this is not working in 6.2, I get A tag like this:

<a href="Error:" title="object" target="no" class="file">

Sure, I can create the lightbox link in Fluid template, but I feel more
comfortable over TS. There are some advantages doing it over TS such as
I can limit dimensions of the image in the lightbox, so even though
editor uploads 10M photo, there will be something reasonable, e.g.
1920px wide.


More information about the TYPO3-english mailing list