Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimension(s) of the target image unknown Ab #334

Open
magarrent opened this issue Oct 16, 2018 · 3 comments
Open

Dimension(s) of the target image unknown Ab #334

magarrent opened this issue Oct 16, 2018 · 3 comments

Comments

@magarrent
Copy link

magarrent commented Oct 16, 2018

Hey there, why only sometimes I'm getting this error?

<img src="/0881005_4.jpg" class="reel" data-responsive="true" data-loops="true" data-speed="0.15" data-cw="true" data-revolution="200" data-images="/0881005_#.jpg|4..15" style="">

@martonmiklos
Copy link

Anyone any hints about this issue?

@marysmech
Copy link

Same issue here.

@martonmiklos
Copy link

martonmiklos commented Nov 7, 2019

@marysmech In my case it turned out that this was caused by the slow loading of the first image (specified with the src tag). My workaround was adding a callback for the image loading and doing a $.reel.scan(); afterwards the image got loaded. See:
https://github.com/legyenegysajatvarosod/gallery/blob/gh-pages/js/gallery.js#L10

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

No branches or pull requests

3 participants