TYPO3: open fancybox / lightbox with second image

The TYPO3-Extension cl_jquery_fancybox enhances the click-to-enlarge capability of with the beautiful “fancybox-effect”.

Sometimes you do not only want to enlarge the same picture, but you want to open a different image in the lightbox (thumbnail pictureOne.jpg opens picure2.jpg). You can add a file-link, but unfortunately the lightbox-effect disappears :(

Just add this line of code to typoscript and all images with a filelink get a lightbox-class:

(worked with TYPO3 6.1.6 & cl_jquery_fancybox 3.0.6)

About 

Hi, I'm a Berlin-based developer and working on webstuff since 2000. My focus lies on PHP, TYPO3 and Symfony. 2009 I became a certified TYPO3-Integrator. I worked on projects for clients like Paypal, Union Investment, Commerzbank or Warsteiner.

Go check out my page http://www.christian-baer.com

Published by

Christian Baer

Hi, I'm a Berlin-based developer and working on webstuff since 2000. My focus lies on PHP, TYPO3 and Symfony. 2009 I became a certified TYPO3-Integrator. I worked on projects for clients like Paypal, Union Investment, Commerzbank or Warsteiner. Go check out my page http://www.christian-baer.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">