NO BUG: Image Gallery>>Lightbox opens when clicking on the thumbnail and navigation works as expected when logged in WP, but on FE it just opens the image link

Browser: Version 135.0.7049.115
OS: Windows
URL: https://www.costaricafocus.com/birding-tours/costa-rican-birds-through-the-lens/

I’ve created an image gallery using the Bricks gallery component. I’ve used custom post type and custom fields with ACF in this template. Lightbox is setup as in the screenshot, and it behaves as expected if I’m logged in WP. However when I’m not logged in (incognito) the click on the thumbnail image doesn’t open the lightbox, it opens the image itself and the only way to go back to the page I was on is with the browser back button.

Hi Jelena,
Thanks so much for your report!

Please briefly disable the WP Rocket JS optimization to see if the lightbox works.

Best regards,
timmse

Ah, completely forgot I ramped that up, thanks!