Skip to content

Start manual gallery from X slide #191

Answered by fancyapps
dandovnar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Use startIndex option, example:

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 }
);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dandovnar
Comment options

Answer selected by dandovnar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants