Page 1 of 1

Unable to open image in lightbox from a link image gallery

Posted: 18 Nov 2012, 12:41
by debadguy
Hi,
I am trying to open another image (in lightbox) by linking my description text of one of my photos in a gallery.

For example: The image is "Scenic archway in Pienza" ( This is a painting of a orinial photo I took). I am trying allow visitors to click on a link in my desciption to open up the original photo which is located in my Storage photos folder. So, in the decription section of my painting image I placed the following link:
<a href="javascript:lightbox('Storage photos/pienzaarchway origin');">See orininal photo</a>
The text in the decription acts like a link, but when I click it, the message "the image failed to open" comes up. What am I missing? :(
Thanks for any help.
Ninad

Re: Unable to open image in lightbox from a link image galle

Posted: 19 Nov 2012, 02:21
by mjau-mjau
First of all, I can't see the link to the image ...
<a href="javascript:lightbox('Storage photos/pienzaarchway origin');">See orininal photo</a>

An image needs to end with ".jpg" or any other supported extension. If you give me a link to the image and to the gallery, I can give you the exact path to use. Also, you may need to use %20 in place of empty spaces in the link itself.

Re: Unable to open image in lightbox from a link image galle

Posted: 20 Nov 2012, 22:07
by debadguy
%20...that was what I was missing. Problem solved. Thank you.
Ninad