Search…

X3 Photo Gallery Support Forums

Search…
 
debadguy
Topic Author
Posts: 9
Joined: 14 Nov 2012, 22:35

Unable to open image in lightbox from a link image gallery

18 Nov 2012, 12:41

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

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

19 Nov 2012, 02:21

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.
 
debadguy
Topic Author
Posts: 9
Joined: 14 Nov 2012, 22:35

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

20 Nov 2012, 22:07

%20...that was what I was missing. Problem solved. Thank you.
Ninad