I have some fotorama pictures and I want to get a link to an specific one. For example I'd like to go to the third image of the carousel with a link and not only to the first one. I guess I should use the .activeIndex but I don't know how to do it.
Thanks in advance!
This is covered in the fotorama documentation.
Just add the attribute
data-hash="true"
to the enclosing fotorama div element:and then link to them using the
id
attribute as a URL fragment identifier, e.g.:There are some examples you can play with here: http://fotorama.io/customize/hash/