I was playing around with the new slider element and was wondering, if it would be possible to create a gallery with it.
the setup would look like this:
- a set of images that are assigned to a specific page using ACF Pro
- a looper outputting these image
- each image would be clickable and open up a modal containing a slider that opens up that specific image, but also contains the other ones
Now my question is: Is it possible to open up the slider at a specific index?
For example when i click the second image, i would like the slider to start at the second slide.