# SOLVED: Lightbox + Query Loop does not reindex

**URL:** <https://forum.bricksbuilder.io/t/solved-lightbox-query-loop-does-not-reindex/37810>\
**Category:** Bugs\
**Tags:** v2-1-4\
**Created:** [January 26, 2026, 5:04pm UTC](https://forum.bricksbuilder.io/t/solved-lightbox-query-loop-does-not-reindex/37810 "2026-01-26T17:04:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dario](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/d/bc79bd/32.png) [@Dario](https://forum.bricksbuilder.io/u/Dario)\
**Post date:** [January 26, 2026, 5:04pm UTC](https://forum.bricksbuilder.io/t/solved-lightbox-query-loop-does-not-reindex/37810/1 "2026-01-26T17:04:22Z")

</div>

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](https://jam.dev/))

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

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [January 27, 2026, 8:32am UTC](https://forum.bricksbuilder.io/t/solved-lightbox-query-loop-does-not-reindex/37810/2 "2026-01-27T08:32:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dario](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/d/bc79bd/32.png) [@Dario](https://forum.bricksbuilder.io/u/Dario)\
**Post date:** [February 3, 2026, 4:48pm UTC](https://forum.bricksbuilder.io/t/solved-lightbox-query-loop-does-not-reindex/37810/3 "2026-02-03T16:48:08Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [October 20, 2026, 3:16pm UTC](https://forum.bricksbuilder.io/t/solved-lightbox-query-loop-does-not-reindex/37810/4 "2026-10-20T15:16:16Z")

</div>

Hi Dario,  
We’re marking this issue as solved: the lightbox groups now refresh as query results load, and we verified the behavior with both Load more and infinite scroll. We can’t confirm the specific release that includes the fix yet (tested in 2.4.3).

If you can still reproduce this in the latest Bricks release, please share updated steps to reproduce it.
