Skip to content

Prevent loading of smaller images on resize #3

@sjwilliams

Description

@sjwilliams

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions