[solved]Gallery module to include external link per image

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

[solved]Gallery module to include external link per image

Post by jospanner »

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
Last edited by jospanner on Mon Aug 08, 2011 10:49 am, edited 1 time in total.
User avatar
micahgodbolt
Forum Members
Forum Members
Posts: 149
Joined: Thu Jul 29, 2010 11:09 pm

Re: Gallery module to include external link per image

Post by micahgodbolt »

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.
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Gallery module to include external link per image

Post by jospanner »

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?
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Gallery module to include external link per image

Post by Jos »

did you read the Gallery help in the wiki? Might want to check the FAQ section ;)
luk407
Forum Members
Forum Members
Posts: 16
Joined: Mon Nov 15, 2010 11:01 pm

Re: Gallery module to include external link per image

Post by luk407 »

I did something similar with JQuery linkify plugin:
http://www.vydradesign.cz/cz/prace/webdesign.html
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Gallery module to include external link per image

Post by jospanner »

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....
Post Reply

Return to “Modules/Add-Ons”