-
Hello! Is it possible to start gallery, for example, from second slide when it was initialized manually by an array? Here's my fiddle: https://jsfiddle.net/dandovnar/q428p6mj/ I mean, when I click to the second image the gallery starts from the first image. I would like to synchronize it. Is it possible to do this without Fancybox.getInstance().jumpTo()? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
fancyapps
Dec 14, 2021
Replies: 1 comment 1 reply
-
Hi, Use Fancybox.show(
[
{ src: "https://lipsum.app/id/1/200x200" },
{ src: "https://lipsum.app/id/2/200x200" },
{ src: "https://lipsum.app/id/3/200x200" },
],
{ startIndex: 1 }
); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dandovnar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Use
startIndex
option, example: