Incorporate layout constraints from ancestor blocks into the sizes calculations #1511
Labels
[Plugin] Enhanced Responsive Images
Issues for the Enhanced Responsive Images plugin (formerly Auto Sizes)
As outlined in #760, the initial work for accurately setting the sizes attribute for image and cover blocks has been released through the Enhanced Responsive Images plugin. While the current implementation effectively handles individual image blocks, it does not account for images constrained by other ancestor blocks. This issue aims to address this issue by focusing on multiple block types, including column, group, row, and stack blocks (alignments only). Enhancements for grid blocks are also being considered (though they are of lower priority due to their complexity and recent introduction).
The primary goal is to improve the sizes attribute across these block types to ensure images are displayed with the correct sizes for optimal rendering across different screen sizes.
The text was updated successfully, but these errors were encountered: