PDA

View Full Version : image viewer link to image instead of text



alex1989
10-23-2009, 04:15 PM
:: Lightbox image viewer 2.03a

I have used the above image viewer from lightbox and i am currently tryin to get the viewer to open when linked to the photo and then it rotates a group of photos. Instead it is open from text. An example of the code is -

<p>1. Icarus</p>
<p><img src="Images/0 preowned/14m.jpg" width="150" height="100" /></p>
<a href="Images\14m\icarus1.jpg" rel="lightbox[roadtrip]">Click Here</a>
<a href="Images\14m\icarus2.jpg" rel="lightbox[roadtrip]"></a>
<a href="Images\14m\icarus3.jpg" rel="lightbox[roadtrip]"></a>
<a href="Images\14m\icarus4.jpg" rel="lightbox[roadtrip]"></a>
<a href="Images\14m\icarus5.jpg" rel="lightbox[roadtrip]"></a>

i have wrote "click here" as thats the only way so far i can get the viewer to open, but i would prefer that it would open from the img!

any help would be appreciated!!

bluewalrus
10-24-2009, 05:02 PM
<a href="Images\14m\icarus1.jpg" rel="lightbox[roadtrip]"><img src="Images/0 preowned/14m.jpg" width="150" height="100" /></a>

alex1989
10-26-2009, 02:14 PM
thanks this really helped me