Return to Snippet

Revision: 9898
at November 28, 2008 09:04 by hlubek


Updated Code
plugin.tx_wtgallery_pi1 {
   list.image.imageLinkWrap.typolink >
   list.image.imageLinkWrap.typolink {
       parameter.cObject = IMG_RESOURCE
       parameter.cObject {
           file {
               import.field = picture
               maxW = 600
               maxH = 600
           }
       }
       ATagParams = rel="lightbox" title="{field:title}"
       ATagParams.insertData = 1
   }
}

Revision: 9897
at November 28, 2008 09:02 by hlubek


Initial Code
plugin.tx_wtgallery_pi1 {
   list.image.imageLinkWrap.typolink >
   list.image.imageLinkWrap.typolink {
       parameter.cObject = IMG_RESOURCE
       parameter.cObject {
           file {
               import.field = picture
               maxW = 600
               maxH = 600
           }
       }
       #parameter.field = picture
       ATagParams = rel="lightbox" title="{field:title}"
       ATagParams.insertData = 1
   }
}

Initial URL

                                

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

Initial Title
Enable Slimbox for wt_gallery image list

Initial Tags

                                

Initial Language
TYPO3