Set the first image when opening the light box #259
Answered
by
ash67
marvthedev
asked this question in
Q&A
-
Is it possible to set which image is viewed first when the lightbox opens up? I want to be able to click on a thumbnail image outside the lightbox when you click on it, the lightbox opens up and displays that image. |
Beta Was this translation helpful? Give feedback.
Answered by
ash67
Apr 9, 2024
Replies: 1 comment
-
I think you can add <Lightbox
index={thumbnailImageSlideIndex}
// ...
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
igordanchenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you can add
index
property to the Lightbox component to open a specific slide when the lightbox opens.