When you create a gallery with a slider and with infinite options, the slider duplicates the elements to have this effect, but it also affects the lightbox since those duplicate elements of the slider are also displayed, in my opinion it should not be the expected operation.
When you create a gallery with a slider and with infinite options, the slider duplicates the elements to have this effect, but it also affects the lightbox since those duplicate elements of the slider are also displayed, in my opinion it should not be the expected operation.
Elements of default Gallery:
Lightbox duplicate elements (You can see duplicate thumbnails):