Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make…
About Auto-sizes for Lazy-loaded Images
This WordPress plugin enhances the responsive images functionality by improving the accuracy of the sizes attribute and implementing the new HTML spec for lazy-loaded images. It integrates with the Image Prioritizer plugin to prioritize and add lazy loading and sizes=auto to images below the fold. There are no settings or user interface for this plugin as it works without any configuration.Frequently asked questions
What does this plugin do?
This plugin enhances responsive images in WordPress by improving the accuracy of the sizes attribute. It also implements the new HTML specification for adding sizes="auto" to lazy-loaded images.
Does this plugin have any settings or a user interface?
No, there are currently no settings or user interface for this plugin. It is designed to work without any configuration.
How does this plugin integrate with Image Prioritizer?
When the Image Prioritizer plugin is active, this plugin extends its functionality to add sizes=auto to the lazy-loaded images identified by Image Prioritizer.
Changelog
1.4.0
Features
- Accurate Sizes: Incorporate layout constraints in image sizes calculations. (1738)
Enhancements
- Accurate sizes: Pass parent alignment context to images. (1701)
- Accurate sizes: Reorganize file structure by feature. (1699)
- Accurate sizes: Support relative alignment widths. (1737)
- Remove
auto_sizes_get_layout_settings(). (1743)
Bug Fixes
- Accurate sizes: Disable layout calculations for classic themes. (1744)
1.3.0
Enhancements
- Move Auto Sizes logic from Enhanced Responsive Images to Image Prioritizer. (1476)
- Update auto sizes logic in Enhanced Responsive Images plugin to no longer load if already in Core. (1547)
1.2.0
Enhancements
- Harden logic to add
autokeyword tosizesattribute to prevent duplicate keyword. (1445) - Use more robust HTML Tag Processor for auto sizes injection. (1471)
Bug Fixes
- Remove sizes attribute when responsive images are disabled. (1399)
1.1.0
Features
- Initial implementation of improved image
sizesalgorithm. (1250)
Enhancements
- Improved image
sizesfor left/right/center alignment. (1290) - Integrate Auto Sizes with Image Prioritizer to ensure correct sizes=auto. (1322)
- Update
Auto-sizes for Lazy-loaded Imagesplugin name toEnhanced Responsive Images. (1335) - Use correct sizes for small images. (1252)
Documentation
- Update the plugin description for Enhanced Responsive Images. (1339)
- Update the plugin header description. (1344)
1.0.2
- Improve overall code quality with stricter static analysis checks. (775)
- Bump minimum PHP requirement to 7.2. (1130)
1.0.1
- Add auto-sizes generator tag. (1105)
- Bump minimum required WP version to 6.4. (1062)
- Update tested WordPress version to 6.5. (1027)
1.0.0
- Initial release of the Auto-sizes for Lazy-loaded Images plugin as a standalone plugin. (904)
