Lightbox integration

Hello! 1. This script is the best image gallery script i've ever seen! Very easy to use and to adapt to your own site. 2. My php knowledge is not of the highest level, and cannot figure this one out by myself. I was wondering if the lightbox script by Lokesh Dhakar can be integrated in this script. Usually it's a matter of putting rel="lightbox" behind the tag, but that's not working in this script. I was wondering what kind of tweaks I have to do to make it work..

Re:Lightbox integration

super!!! I'm very curious... this will be a very great asset to your allready fantastic script!

Re:Lightbox integration

Thanks for mentioning this again, I'm working on version 1.4.0 which will be released in the next week, I will try to intregrate Lightbox support as standard.

Re:Lightbox integration

I'm a very big fan of your script but the lightbox integration does not work for me.. I don't know php that much. Is it possible to reply with the code that must be changed to let the script work?
This is the code to let lightbox work... but I realy don't know how to change your script to let it work;

"from lightbox site.....
How to Use

1. Include lightbox.js in your header.

2. Add rel="lightbox" attribute to any link tag to activate the lightbox. For example

image #1

Optional Use the title attribute if you want to show a caption."

Thanks for the help!

Filip Roelandt

Re:Lightbox integration

Thanks for the quick reply, it totally worked out!

Re:Lightbox integration

Thanks, concerning the lightbox this will require some tweaking indeed. Look for the section called '// Display thumbnail images' and change the href tags that point to the javascript function 'viewer' to the format lightbox requires...

PS The variable $file_names[$count] should be in the href tag together with the rel link and you should remove the onclick event.