Posted By

hlubek on 11/28/08


Tagged

Lightbox slimbox wtgallery


Versions (?)

Enable Slimbox for wt_gallery image list


 / Published in: TYPO3
 

The image width and height can be set in maxW / maxH. To use the image title in the IMAGE cObject the wt_gallery code must be patched (at least for version 3.0.4) to include the picture meta information before rendering the cObject.

  1. plugin.tx_wtgallery_pi1 {
  2. list.image.imageLinkWrap.typolink >
  3. list.image.imageLinkWrap.typolink {
  4. parameter.cObject = IMG_RESOURCE
  5. parameter.cObject {
  6. file {
  7. import.field = picture
  8. maxW = 600
  9. maxH = 600
  10. }
  11. }
  12. ATagParams = rel="lightbox" title="{field:title}"
  13. ATagParams.insertData = 1
  14. }
  15. }

Report this snippet  

You need to login to post a comment.