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

Prevent loading of smaller images on resize #3

Open
sjwilliams opened this issue Apr 6, 2014 · 0 comments
Open

Prevent loading of smaller images on resize #3

sjwilliams opened this issue Apr 6, 2014 · 0 comments
Assignees

Comments

@sjwilliams
Copy link
Owner

Currently, on resize, the plugin will check if there's a better sized image for an already-loaded one and use it, even if that image is smaller. Given that the browser will scale down larger images, it's probably best to prevent the http request overhead of new, smaller images when an acceptable larger image is already loaded.

@sjwilliams sjwilliams self-assigned this Apr 6, 2014
@sjwilliams sjwilliams changed the title Prevent load smaller images on resize Prevent loading of smaller images on resize Apr 6, 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