PDA

View Full Version : Lightbox image viewer 2.03a



emanuelle
03-05-2011, 08:37 PM
1) Script Title: Lightbox image viewer 2.03a

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:
I am interested in demo 2 but I would like to see only one thumbnail. when clicking on the thumbnail it will enlarge it and allow me to navigate through the other images and have a descritption text.

do you have something like that?

SillyoldDuffer
03-05-2011, 09:28 PM
Modifiy the HTML for the lightbox to look like below this will place a single thumbnail on your page and onclick will open the Lightbox with all images.
The [lightbox[group]in red you can name what you like to suit yourself.... Hope this helps you...

<a href="images/group.jpg" rel="lightbox[group]"><img src="images/thumb-1.jpg" width="100" height="40" alt="" border="0"/></a>
<a href="images/group1.jpg" rel=" lightbox[group] "></a>
<a href="images/group2.jpg" rel="lightbox[group]"></a>
<a href="images/group3.jpg" rel="lightbox[group]"></a>

emanuelle
03-05-2011, 09:42 PM
perfect
can I also add a description text for every image?

SillyoldDuffer
03-05-2011, 10:00 PM
Yes this can be done using title=""

<a href="images/group1.jpg" rel=" lightbox[group]" title="your description"></a>