Hello all
I would like to use the Lightbox template in the Gallery module to display my portfolio. As part of this, I want to have a link facility at the base of each image where the comment and title field is, to allow the user to click on the link and visit an external website. Is there any way to add code to the lightbox template to allow this to be different per image? So I guess each image would need a new 'link' field that I could enter I 'www.domain.co.uk' address to that would then target="_blank" out of my portfolio.
Any suggestions gratefully received.
Many thanks
[solved]Gallery module to include external link per image
[solved]Gallery module to include external link per image
Last edited by jospanner on Mon Aug 08, 2011 10:49 am, edited 1 time in total.
- micahgodbolt
- Forum Members
- Posts: 149
- Joined: Thu Jul 29, 2010 11:09 pm
Re: Gallery module to include external link per image
It's much easier to put links on the gallery page then on the lightbox photo. I believe you'd have to jump into the lightbox jquery to change the template for the actual image popup.
Re: Gallery module to include external link per image
But I don't want links on the page ideally. I would prefer them so that each different image has a different link when it opens as the pop up - any ideas?
Re: Gallery module to include external link per image
did you read the Gallery help in the wiki? Might want to check the FAQ section 

Re: Gallery module to include external link per image
I did something similar with JQuery linkify plugin:
http://www.vydradesign.cz/cz/prace/webdesign.html
http://www.vydradesign.cz/cz/prace/webdesign.html
Re: Gallery module to include external link per image
Yes - that's what I'm after! I will check out the wiki more fully (I did already check!) but I must've missed the info.
Thanks for the tip. Will add {solved} once I've located it....
Thanks for the tip. Will add {solved} once I've located it....