• I have a problem with Lightbox.

    I am using the Lightbox Plus plugin (I tried Lightbox 3 but I couldn’t get it to work with WP Photo Album Plus). I have it set up so if you click on an album thumbnail you get a full size image in a Lightbox resized to fit the browser window.

    It works just like I want except for one big problem which is that when you click any thumbnail after the page loads you don’t get a Lightbox display you get the photo loaded in an ordinary browser window. In order to get Lightbox to work you have to reload the page a second time, then the Lightbox always works on all the thumbnails.

    It’s as if something in the way WP Photo Album Plus is calling up the page of thumbnails is preventing Lightbox Plus from working, and only if the page is reloaded does it work.

    Any thoughts on this?

    https://www.ads-software.com/extend/plugins/wp-photo-album-plus/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter tonyswash

    (@tonyswash)

    I solved the problem.

    I noticed I had the ‘Use Ajax’ (IV:33) ticked.

    When I unticked this box the problem went away and Lightbox loaded OK.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thank you for this report. I will look into the code if i should refresh the lightbox on some place more when using ajax.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Will be fixed in the next version (4.4.8)

    Thread Starter tonyswash

    (@tonyswash)

    I installed 4.4.8, cleared all the caches on my site and I am still having the same Lightbox problem.

    I have it set so clicking a thumbnail opens a slideshow (VI, 2) and it is set so clicking the slideshow should display a full size image in Lightbox (VI, 8). I have Lightbox Plus installed.

    Clicking the first image that is displayed in the slideshow opens the image in Lightbox like I want. I advance the slideshow one image by clicking the ‘Next Photo’ control at the bottom of the slideshow, now when I click the image in the slideshow it opens a full size image on it’s own in a page, Lightbox no longer works and does not work for all subsequent images in the slideshow.

    What seems to be happening is that Lightbox is only triggered for the first image displayed in the slideshow.

    This behaviour and problem is not affected by either turning Ajax (IV,33) on or off.

    Lightbox Plus is working fine when I do not use the slideshow. If I set the thumbnail to open directly into Lightbox it displays OK and I can advance to the next image from within Lightbox. But this is not the behaviour I want. I want thumbnails to open into a Lightbox and for each slide of the show to open, when clicked, in a Lightbox display.

    Any ideas?

    Thread Starter tonyswash

    (@tonyswash)

    CORRECTION!

    The second to last sentence should have read:

    But this is not the behaviour I want. I want thumbnails to open into a slideshow and for each slide of the slideshow to open, when clicked, in a Lightbox display.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Then you should set the link from thumbnails to ‘the fullsize photo in a slideshow’ (VI-2) and VI-8 to lightbox.

    Only the plugin lightbox-3 is supported as lightbox-3 will get the updated list after ajax operations (now) and after a browse action in the fullsize slideshow display.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I will dive into the lightbox plus code to see if i can do similar tricks as i did for lightbox-3 (updating the image list). You will hear from me later…

    Thread Starter tonyswash

    (@tonyswash)

    Still not working.

    I installed and activated Lightbox 3 and deactivated Lightbox Plus, I set set the link from thumbnails to ‘the fullsize photo in a slideshow’ (VI-2) and VI-8 to Lightbox.

    When I click a photo in a slideshow it just opened to the photo in a new window (no Lightbox).

    I deactivated Lightbox 3 and reactivated Lightbox Plus and under identical conditions the Lightbox effect works correctly but only on the first photo I click. If I use the slideshow controls to advance to the next photo and then click on it I just get a full size photo in a new page. If after advancing a photo in the slideshow I refresh the browser page I get a Lightbox effect but only for one photo. The next photo opens in a new window.

    I can get a Lightbox effect on every photo but only if I refresh the browser window every time I advance the slideshow to look at the next photo.

    I tried everything but cannot get this to work.

    Thread Starter tonyswash

    (@tonyswash)

    Progress!

    I got Lightbox 3 to work and function in the slideshow just like I wanted it to, by installing another plugin called “Use Google Libraries”.

    The plugin is here

    https://www.ads-software.com/extend/plugins/use-google-libraries/

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Call closed? If so, i will document that – in case of problems (on my sites it works as expected) – try: Use Google Libraries. It has been proven earlier that the prototype and scriptaculous libraries (required for lightbox) that come with wp can cause problems.

    Thread Starter tonyswash

    (@tonyswash)

    It seems to be fixed now using Google Libraries. I am still configuring my photo archive so I will let you know if I run into a any snags by the time I finish setting it up..

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok,

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Lightbox problem’ is closed to new replies.