Results 1 to 2 of 2

Thread: next and prev links not showing on Lightbox image viewer 2.03a

  1. #1
    Join Date
    Jul 2005
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default next and prev links not showing on 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:

    Hi,

    I cannot get the next and previous buttons to show on my image.s I have given them a group in the rel tag, but it still doesn't work.

    This is what I have:

    Code:
    <a href="images/image-1.jpg" rel="lightbox[test]"><img src="images/thumb-1.jpg" width="100" height="40" alt="" /></a>
    <a href="images/image-1.jpg" rel="lightbox[test]"><img src="images/thumb-1.jpg" width="100" height="40" alt="" /></a>
    <a href="images/image-1.jpg" rel="lightbox[test]"><img src="images/thumb-1.jpg" width="100" height="40" alt="" /></a>
    Any ideas?
    Last edited by djr33; 09-14-2012 at 11:26 PM. Reason: changed [php] to [code] for html

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Unless you're using the linked caption feature, and even if you are, consider updating to a more recent version or changing to some other lightbox type script, as this version is quite outdated.

    That said, the problem you're having is common in nearly all of the lightbox versions and nearly all of the lightbox type scripts. There can be other reasons, but usually it's because in the css file (lightbox.css for this script) the path to the next and previous images is incorrect. If you installed from the archive and kept everything in the same folders as in that archive, the paths were already correct. If you moved anything around, it's possible that the paths to those images are no longer correct in the css file. Paths in a css file are relative to the css file. If there is ever any doubt though, the absolute path to the images may be used.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Lightbox Image Viewer 2.03a - Next/Prev Buttons
    By highaprog in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-07-2011, 10:48 PM
  2. Lightbox next & prev not showing
    By winzie in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 04-09-2009, 12:22 PM
  3. Lightbox image viewer (prev/next issue)
    By dmrgraphics.com in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 01-06-2009, 12:59 PM
  4. Lightbox 2.03a prev/next box border showing
    By dongares in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-03-2008, 05:33 PM
  5. Lightbox image viewer 2.0 - Prev/Nex tabs question
    By ~jc in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 07-25-2006, 04:21 PM

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
  •