Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 06:47:51 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155439 Posts in 21702 Topics by 7755 Members
Latest Member: Smacki
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: image gallery - direct link  (Read 685 times)
terrajohn

Offline Offline

Posts: 43


« on: August 15, 2008, 02:47:09 AM »

I'm tuning the image gallery. I want to use this in combination with lightbox. But instead that the thum is linking to a new detailed page I would like to link direct to the normal picture.

The current href code is, where link refers to the detailed page:
Code:
<a href="[LINK]" [ALTTITLE]">[THUMB]</a>

What shoud I use to link directly to the image?
Logged
sparkdigital

Offline Offline

Posts: 348



WWW
« Reply #1 on: February 17, 2009, 03:28:58 PM »

I've got the same question - any ideas anyone?

Konrad
Logged
sparkdigital

Offline Offline

Posts: 348



WWW
« Reply #2 on: February 17, 2009, 05:21:19 PM »

Just managed to do this myself. Use the following link, of course replacing the url and title.

Code:
<a href="http://www.gibbon-bridge.co.uk/media/gallery/accommodation/TheLeagram.jpg" rel="lightbox" title="The Leagram Suite">The Leagram Suite</a>

This will work in the fck editor on any page with a lighbox mod installed as a section. If there's no need for a lighbox on that page I just created one with 0 rows and columns so it doesn't appear.

I'm sure there a more sophisticated way of doing this but at least it does the trick!

Konrad
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!