Results 1 to 4 of 4

Thread: Lightbox image viewer 2.03a

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    23
    Thanked 0 Times in 0 Posts

    Default Lightbox image viewer 2.03a

    1) Script Title: Lightbox image viewer 2.03a

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/index.htm

    3) Describe problem:
    I am interested in demo 2 but I would like to see only one thumbnail. when clicking on the thumbnail it will enlarge it and allow me to navigate through the other images and have a descritption text.

    do you have something like that?

  2. #2
    Join Date
    Feb 2011
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Modifiy the HTML for the lightbox to look like below this will place a single thumbnail on your page and onclick will open the Lightbox with all images.
    The [lightbox[group]in red you can name what you like to suit yourself.... Hope this helps you...

    <a href="images/group.jpg" rel="lightbox[group]"><img src="images/thumb-1.jpg" width="100" height="40" alt="" border="0"/></a>
    <a href="images/group1.jpg" rel=" lightbox[group] "></a>
    <a href="images/group2.jpg" rel="lightbox[group]"></a>
    <a href="images/group3.jpg" rel="lightbox[group]"></a>

  3. #3
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    23
    Thanked 0 Times in 0 Posts

    Default

    perfect
    can I also add a description text for every image?

  4. #4
    Join Date
    Feb 2011
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Yes this can be done using title=""
    Code:
    <a href="images/group1.jpg" rel=" lightbox[group]" title="your description"></a>

  5. The Following User Says Thank You to SillyoldDuffer For This Useful Post:

    emanuelle (03-06-2011)

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
  •