PDA

View Full Version : Question for Lightbox Users


Zipline
29th of September 2009 (Tue), 18:13
I'm not sure how to ask this. I have a whale watching website where I post photos by the trip. Some trips are better than others. I can have maybe 20 shots from one trip and over 50 for another. Currently I use thumbnails to put photos on my websites to link to the full sized photo. The problem is that I post so many photos there are a LOT of thumbnails. As a result I'm having to make multiple pages so I don't have to many thumbnails on a single page. Example: http://www.whalesonfilm.com/photos.html

What I'd like to do is pick one photo from each trip to display on the photos page. When a visitor clicks on it, I'd like the larger lightbox photo to pop up and still allow the viewer to scan through the set. The problem is, I'm not sure how to do this without using the thumbnails.

Does that make sense?

psuphoto09
29th of September 2009 (Tue), 23:39
try this code:

<a href="photo.jpg" rel="title of series" title="title"><img src="photo.jpg" width="width" height="height" align="texttop" /></a>
<a href="photo2.jpg" rel="title of series" title="Umbrella Variations 2"></a>
<a href="photo2.jpg" rel="title of series" title="Umbrella Variations 2"></a>
<a href="photo2.jpg" rel="title of series" title="Umbrella Variations 2"></a>
<a href="photo2.jpg" rel="title of series" title="Umbrella Variations 2"></a>
<a href="photo2.jpg" rel="title of series" title="Umbrella Variations 2"></a>
<a href="photo2.jpg" rel="title of series" title="Umbrella Variations 2"></a>

it can be seen in use HERE (http://www.personal.psu.edu/bac5019/portfolio.html)

illmatik53
9th of October 2009 (Fri), 20:59
That's some nice helpful code! I've got another question about lightbox. Is it possible to add a comment box for each individual photo?