ZenphotoCMS Forum
Adding a rel="lightbox" to the image tag - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Adding a rel="lightbox" to the image tag (/thread-1305.html)



Adding a rel="lightbox" to the image tag - fauxhawk - 2007-03-19

Ok Im not a complete noob but how do I add a rel="lightbox" to the image tag of each image, Hmm maybe I should go to bed, quite tired, but thought I would ask anyway.

Thanks
FH




Adding a rel="lightbox" to the image tag - Chilifrei64 - 2007-03-19

just go to the template page where you want the lightbox effect and add it to the template.

If you are just looking for a pre-made lightbox theme you can use mine here
http://www.chilifrei.net/?page_id=62




Adding a rel="lightbox" to the image tag - fauxhawk - 2007-03-19

Actually I'm wanting to impliment greybox, so I did what was in the installation docs for greybox, but when I try to add rel="gb_imageset[NAME]" to the template it does not actually show up when the page loads. So I'm obviously putting in in the wrong place or something.

The page I'm wanting to add it to is --> http://www.aperturejunkie.com/zen/index.php?album=people
The template I'm adding it to is --> album.php in the stopdesign template
the line I'm adding it to is -->

[*]" rel="gb_imageset[NAME]" title="">

Any thoughts on what i'm doing wrong

Thanks
FH