SimpleLightbox is lightweight and responsive lightbox library with no dependencies. Display images, galleries, videos or custom content and control your lightbox with easy to use api.
First I would like to thank you for this amazing library.
I would like to select an image, so I get it's index based on array initialization or id in dom for example. For this, I think the best would be to attach a different callback other than the next previous when the image is clicked.
Probably it helps someone else. If feasible someone could reopen this. But for me a chose other options to retrieve selected image (not simple lightbox)
First I would like to thank you for this amazing library.
I would like to select an image, so I get it's index based on array initialization or id in dom for example. For this, I think the best would be to attach a different callback other than the next previous when the image is clicked.
Is it possible ?
Thanks a lot !