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

Lazy Load .gif files #21

Open
jeanpierreb opened this issue Mar 14, 2014 · 0 comments
Open

Lazy Load .gif files #21

jeanpierreb opened this issue Mar 14, 2014 · 0 comments
Assignees
Milestone

Comments

@jeanpierreb
Copy link
Owner

Instead of having the file name changed by the attr method, find the image loaded event sent up by the imagesLoaded.js library:
http://imagesloaded.desandro.com/

And on the callback function trigger an event that replaces the static image with an animated gif. Be sure to have them both use adjustImagePositioning() for continuity.

@jeanpierreb jeanpierreb added this to the Beta milestone Mar 14, 2014
@jeanpierreb jeanpierreb self-assigned this Mar 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant