PDA

View Full Version : Lightbox image viewer 2.03a with thumbnails



Foundas
12-06-2007, 07:01 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: Is there a way to have thumbnails of the pictures inside the window that opens when the script starts?

thanks in advance

Foundas

ddadmin
12-06-2007, 09:39 PM
If you mean getting thumbnails to appear within the Lightbox, unfortunately there's no easy way until the author decides to update the script with such a feature. What's shown in the Lightbox is basically the enlarged image plus an optional caption.

Foundas
12-07-2007, 06:31 AM
Thanks for your reply ddadmin,

i am sure though i saw this functionality in DD. Do you know of a script that can do this?

Thanks in advance

Foundas

jscheuer1
12-07-2007, 08:29 AM
You can do it with lightbox. It involves pushing things a little. For example:


<a href="images/image-1.jpg" rel="lightbox"
title="<img src='some.jpg'>"
>whatever</a>

But then, when you hover the link in most browsers, there will be a 'tooltip' showing the raw HTML code from the image tag title of the link. If you are linking an image, this can be overridden by giving the linked image its own title, and also with text if enclosed in a span tag with its own title:


<a href="images/image-1.jpg" rel="lightbox"
title="<img src='some.jpg'>"
><img src="thumbs/thumb-1.jpg" title="Whatever"></a>

or:


<a href="images/image-1.jpg" rel="lightbox"
title="<img src='some.jpg'>"
><span title="Whatever">whatever</span></a>