WIP: Lightbox + Query Loop does not reindex

Hey there,

I am loading images via a query loop and using a lightbox to show them.
i am giving every image the same lightbox id to group them.

Together with lazy loading every image only has a lightbox reference of the images loaded up to the point where the image first appeared.

is there a way to “reindex” the lightbox for every image once new images are loaded. i couldnt find a way to do this manually.

Otherwise what are your workaround to show a image gallery and lightbox for a big amount of images.

regards,
Dario

Browser**: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

[Please describe this bug in as much detail as possible so we can replicate & debug this bug]

Hi Dario,
Thanks so much for your report!

We have already received a report by email and created an internal task. We will get back to you as soon as the problem has been resolved. Unfortunately, I can’t provide you with a workaround, sorry.

Best regards,
timmse

Thanks for the quick reply.

The only workaround i could find is by creating my own lightbox with js and css, hiding a “load more” button on the page and repeaditly clicking on it with js as soon as my custom light box is open.

If anyone needs the code for it, feel free to hit me up :slight_smile: