Changed
- WordPress core
sizes="auto, …"is no longer disabled site-wide: layout-aware image sizing stays enabled and a per-image guard stripsautoonly from small attribute-sized images (#8) - Attribute-sized images (width below the
mwe_etchwp_auto_sizes_min_widththreshold, default 150) no longer receivesrcset/sizesfrom the plugin; the browser sizes them from their width attribute (#10, #9)
Added
mwe_etchwp_disable_auto_sizesfilter to restore the previous global disable (#8)mwe_etchwp_auto_sizes_min_widthfilter controlling the attribute-sized threshold; invalid values are clamped to at least 1 (#8)
Fixed
- Over-fetching on lazy-loaded content images (e.g. a lazy header logo fetched 2048w instead of 768w on large viewports) (#8)
Upgrade Notice
Image loading improves: WordPress core sizes="auto" is enabled again, so browsers pick better-fitting files for lazy-loaded images. Small icons keep their fixed sizing. If you need the old global disable, see the README's mwe_etchwp_disable_auto_sizes filter.