Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Data-Options Thumbnails #1661

Closed
carlosnpz opened this issue Oct 3, 2017 · 1 comment
Closed

Data-Options Thumbnails #1661

carlosnpz opened this issue Oct 3, 2017 · 1 comment

Comments

@carlosnpz
Copy link

Is it possible to make thumbnails auto start by default via data-options? What's the syntax?

@fancyapps
Copy link
Owner

Hi,

Sorry, it should work with the latest version - https://codepen.io/anon/pen/MEEqMZ?editors=1100

<p>
    <a href="https://c1.staticflickr.com/1/357/31876784275_12286240d4_h.jpg" data-fancybox="images-preview" data-options='{ "animationEffect" : false, "thumbs" : { "autoStart" : true } }'>
      <img src="https://c1.staticflickr.com/1/357/31876784275_fbc9696913_m.jpg" />
    </a>
</p>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants