Add aspect ratio support to Post Featured Image block #47274
Labels
[Block] Post Featured Image
Affects the Post Featured Image Block
Needs Design Feedback
Needs general design feedback.
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Related to #38990, but it's easier to implement this as a first-pass on the Post Featured Image block. The Image block is more difficult, as we have to account for cropping via the Image block's existing crop aspect ratio tool.
What is your proposed solution?
Let's add support for the upcoming aspect ratio theme.json presets (#47271) to the Post Featured Image block.
I put the width and height controls below the aspect ratio, as the aspect ratio affects the height (which is calculated based on the aspect ratio and width). I also have them inverted for consistency with the current image size controls in the Image block; in today's Post Featured Image block, height is first.
The text was updated successfully, but these errors were encountered: