Results 1 to 3 of 3

Thread: image viewer link to image instead of text

  1. #1
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy image viewer link to image instead of text

    :: 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!!

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Code:
    <a href="Images\14m\icarus1.jpg" rel="lightbox[roadtrip]"><img src="Images/0 preowned/14m.jpg" width="150" height="100" /></a>

  3. #3
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks this really helped me

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •