PDA

View Full Version : Lightbox image viewer



confused2
11-04-2011, 03:57 AM
1) Lightbox image viewer

2) http://www.dynamicdrive.com/dynamicindex4/lightbox/index.htm

3) Hi. I did manage to get this script working thanks to the help i received here a number of years back but i stopped using it and in the meantime have forgotten how to properly install now that i want to use it once more.
I used it on just one test image on a gallery page (the first thumbnail) and when clicked on the screen darkens and i get the spinning loading gif though it looks a little ropey and nothing else happens. Can't see where i'm going wrong so any help truly appreciated. The lightbox.zip files contents were uploaded to a file called "lbox".

The url of my test page is here (http://www.photoslondon.com/londonlandmarks_galleryone.htm)

jscheuer1
11-04-2011, 04:21 AM
There could also be other problems but the larger image (highlighted):


<a href="0391abw.jpg" rel="lightbox"><img src="0391abw_small.jpg" width="130" height="86" img border="0" title= "Thames path view to parliament in black and white"></a>

is a 404 Not Found. It should be here:

photoslondon.com/0391abw.jpg

But it's not. There is an image:

photoslondon.com/pl_landmarks/0391abw.jpg

I think that's the one. To have a chance of working the script needs to be able to find the larger image.

So make it:


<a href="pl_landmarks/0391abw.jpg" rel="lightbox"><img src="0391abw_small.jpg" width="130" height="86" img border="0" title= "Thames path view to parliament in black and white"></a>

The browser cache may need to be cleared and/or the page refreshed to see changes.

confused2
11-04-2011, 11:36 AM
thank you so very much John. All fine now :)