I don’t think we understood each other.
The point is that the lightbox creates one huge gallery from all the entries loaded by ifninite loop.
I would like galleries to be separate for subsequent entries.
For example if you open this link: https://furcy.pl/nowy-opel-astra-sports-tourer-premiera/
And it goes to the gallery then there are 8 photos in the lightbox.
And that’s okay.
Then we go down and another entry is loaded. Now, after going to the gallery, we are shown 23 photos there. It’s bad.
Should show 23-8 = 15 photos. Because there are only 15 photos in the gallery in the second post.
Etc.
I just wish each post had a separate lightbox gallery.