It appears the issue is caused by temporary image links being used before they are fully loaded on the front end of your website. Once the images are loaded, these links are not replaced, so the lightbox doesn’t recognize the new content.
When dealing with async images, you should use the “renderMeowLightbox();” function. This function is exported to your DOM and can be called by anything at any time. As the name suggests, it will rerender the lightbox, and everything should work properly.
You can do this manually with a simple line of JavaScript, for example, through a code snippet. As you can see here: