sandywp / plugins / auto-sizes
Enhanced Responsive Images
Improvements for responsive images in WordPress.
Ready in seconds.
v1.8.0 50,000+ installs WP 6.9+ PHP 7.4+

About this plugin
This plugin implements enhancements for the responsive images functionality in WordPress. Currently, this includes:
- Improvements to the accuracy of the
sizesattribute by using layout information available in block themes. This enhancement is not available to classic themes. - Implementation of the new HTML spec for adding
sizes="auto"to lazy-loaded images. This enhancement was merged into WordPress 6.7.
See also the complimentary Image Prioritizer plugin which detects which images are outside the viewport, and then adds loading=lazy and sizes=auto to them.
There are currently no settings and no user interface for this plugin since it is designed to work without any configuration.
Questions
- Where can I submit my plugin feedback?
Feedback is encouraged and much appreciated, especially since this plugin may contain future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the WordPress Performance Team’s GitHub repository. If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum.
- Where can I report security bugs?
The Performance team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
To report a security issue, please visit the WordPress HackerOne program.
- How can I contribute to the plugin?
Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook.
sandywp / also on the shelf
Try another plugin
60+ installs
A lightweight plugin to disable the automatic addition of the auto value in the sizes attribute for images in WordPress.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.