• Resolved skophek

    (@skophek)


    Hi, after updating to the most recent version behavior of lightbox changed. I opted for NGG especially because you could loop over all images present on page, but now I can loop over only the gallery that image belongs to. Not sure if the change mentioned in changelog for version 3.3.6 caused that:

    NEW: Updated SimpleLightbox to the latest version. This fixes all gallery images appearing in the lightbox if more than one gallery was on the page.

    Is there any possibility how to achieve previous behavior?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jaime Segura

    (@jaimeimagely)

    Hi,

    We use 3rd party libraries for our lightboxes, also we received constant complains about all the images in a page being displayed inside the lightbox, so we proceeded to update it.

    Unfortunately this will require developers attention and might take a while if we decide to implement it. I will bring this into their attention though.

    Sorry about the inconveniences.

    Thread Starter skophek

    (@skophek)

    wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\nextgen_settings\module.nextgen_settings.php:109
    contains rel atribute that is set to a gallery id which causes large display to show only images within the gallery. available in the plugin since version 2.1 released Feb 18 2020, but had to be updated within your plugin as well, so not caused by the library itself

    a simple JS fix (append after HTML markup):

    
    document.querySelectorAll('.ngg-simplelightbox').forEach(function(el) {
        el.removeAttribute('rel');
    }); 
    
    • This reply was modified 4 years, 3 months ago by skophek.
    • This reply was modified 4 years, 3 months ago by skophek.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lightbox: loop over all galleries in post’ is closed to new replies.