Results 1 to 3 of 3

Thread: Integrate: Lightbox image viewer + PHP Photo Album script

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Integrate: Lightbox image viewer + PHP Photo Album script

    1) Script Title:
    Lightbox image viewer + PHP Photo Album script

    2) Script URL (on DD):
    http://dynamicdrive.com/dynamicindex...tbox/index.htm and http://dynamicdrive.com/dynamicindex...photoalbum.htm respectively.

    3) Describe problem:

    Hello,

    I came across your website today and found a lot of very cool scripts I love what you guys have done and hope to utilise a number of your scripts on my websites!

    My current issue is in my attempt to integrate the Lightbox image viewer script into the PHP Photo Album script. I have it mostly working so far, with just 1 small bug I've found so far.

    The URL to the page I am testing is http://www.kekbur.com/gallery/index.php
    The page loads correctly, and displays the requested photos without error. When you click on one of the images on you get the Lightbox script kick off and display the image just as you would expect.
    If, for example, you click on "Page 2" or "Page 3" to display other images in the gallery, this is where the problem begins. After jumping to another lot of images the Lightbox script no longer operates! It just links to the image, ignoring the rel="lightbox" attribute that I've stuck onto their anchor tags. Even if you navigate back to "Page 1" the Lightbox script still doesn't function. The only way to get it to function again is to reload the index.php page.

    Can anyone else see what I might have missed in my integration? Your assistance would be much appreciated!

    Thanks

  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

  3. #3
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oops sorry I didn't see that thread - I spent about an hour last night looking through this forum for a solution but just didn't give the search button a look over

    Thanks very much for that - I was in the exact same boat... reinitialising the function when the page was changed fixed my issue

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
  •