ZenphotoCMS Forum
[help theme] import lightbox2 in "default" theme - 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: [help theme] import lightbox2 in "default" theme (/thread-2654.html)



[help theme] import lightbox2 in "default" theme - Faber - 12-04-2008

as title...
I need support,
how import the effect lightbox.js from theme "chili-light2" into the theme "defalut"?
I can't do it...
I would like to do this effect [lightbox] only in 'view original-size'
someone can help me, step by step?
thanks

p.s. ops, I was wrong the section for this post, If there is a mod. sorry!




[help theme] import lightbox2 in "default" theme - sbillard - 13-04-2008

Have you tried doing a file comparison between the chili-light2 and the default theme?




[help theme] import lightbox2 in "default" theme - Faber - 13-04-2008

yes I did it!
I've take from page album.php [chili-light2] the js files and the part of code, this..




[help theme] import lightbox2 in "default" theme - sbillard - 13-04-2008

I think you missed the part of the code that actually displays the image. Look carefully at your file differences. It helps if you have a software that will compare the two files and show you the differences.




[help theme] import lightbox2 in "default" theme - Faber - 16-04-2008

I've looked the page, but I don't know = (

I think I have copied the right part of code, the link of file.css and file.js into and into the this in line59 of image.php from theme "default"

    " rel="lightbox[]" title="">[b][/b]

but it doesn't work! = (
sbillard, if you know something to fix that problem can you help me please?