We have found the plugin ‘Responsive Lightbox & Gallery’ to be almost perfect, however we are running into an issue when combined with infinite scroll for wordpress posts.
When a user opens the first post, they click on an image and all the images from that post open in a lightbox – perfect.
However, when the user scrolls down and the next post loads, if they now click on an image from the new post, a lightbox appears and shows all the images from that post but ALSO contains ALL the images from the previous post.
If you can imagine the situation whereby we have 10 images per post, by the time a user is on their 10th post, they will have 100 images in the lightbox – not ideal.
Ideally we would like ONLY the images from the current post to display in a lightbox at anyone one time.
If you have any suggestions on how this can be solved that would be great.