Member
Member
VeeUniT   09-06-2009, 17:31
#1

Since I'm not really familiar with coding, I would like to know the exact procedure to integrate this http://leandrovieira.com/projects/jquery/lightbox/ with the "default" theme on zenphoto.

My plan would be to use lightbox as soon as you click the thumbnail...

Any help would be really appreciated... I really don't want to f*cked up my website...

P.S. this is for www.joallard.com

thanks

Member
Member
VeeUniT   09-06-2009, 18:10
#2

I've got the latest version (1.2.5) of Zenphoto btw.

Member
Member
benchfrooser   10-06-2009, 17:55
#3

Error 403 - Forbidden
Strato-Webspace?

Ah you mean http://joallard.com/zenphoto/

You have to edit the /zenphoto/themes/default/album.php file. But you should have knowledge of HTML and PHP.
The "How to use" on the lightbox page is selfexplane.

Member
Member
VeeUniT   11-06-2009, 13:07
#4

yeah sorry I've changed the location since then to merge the root of joallard.com with autoviewer instead.

Some explanations on the lightbox page are a bit mixed up in my head...

"So, include just these two javascript files in your header.

"

This is okay.

"Include the CSS file responsible to style the jQuery lightBox plugin.

"

Do I have to add this to the header section as well ? or replace this line

Administrator
Administrator
acrylian   11-06-2009, 13:26
#5

You can skip the line `` as Zenphoto features jQuery aas default libary anyway in all standard themes.

Leave the line `

Member
Member
VeeUniT   11-06-2009, 15:58
#6

thank you very much

Member
Member
VeeUniT   11-06-2009, 16:30
#7

okay now my header looks like :

Administrator
Administrator
acrylian   11-06-2009, 16:59
#8

You should call the lightbox jquery js after `` because this will load the main jquery file.

Regarding enabling you need to follow the instructions on the lightbox site. Please also do a forum search as all these lightbox work similar and we have already lots of threads about that.

Member
Member
VeeUniT   11-06-2009, 18:10
#9

Okay, done.

I've searched over the forum to find out some slimbox and thickbox input, I'm a bit more advanced right now...

Since I want the lightbox to be effective when clicking thumbnail, I modified the album.php file as this ->

I replaced the

            " title="">

With

            " rel="jquery.lightbox-0.5[]" title="">

This is my present header:

 | 
Administrator
Administrator
acrylian   11-06-2009, 18:20
#10

You really should look at the examples on their site carefully. Under part 2 of the examples you see some jquery code to call the lightbox plugin.

Member
Member
VeeUniT   12-06-2009, 13:26
#11

I've checked the examples... I also check the source code on some pages that has thickbox and lightbox working... can't make it work.

www.joallard.com/zenphoto if someone wants to check it out...

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.