Tracking: Aspect Ratio #48079
Labels
[Block] Image
Affects the Image Block
[Block] Post Featured Image
Affects the Post Featured Image Block
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Type] Tracking Issue
Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Why aspect ratios
When you add a pattern from the directory to a page, then replace any images with one of your own, the new images are unlikely to fit within the intended design of the pattern. I.e. square images in the pattern won't be square — unless you crop your image further in the editor. The expectation is that you can replace images without breaking the layout.
This would be especially beneficial for wireframe-style patterns, where an image placeholder could be represented accurately in size and ratio. Patterns actually wouldn't need to include images altogether.
In the current state, the aspect ratio control exists within the
core/post-featured-image
block. Ideally the aspect ratio control would be exposed to other image-like blocks (and their placeholder states).Theme.json aspect ratios
As detailed in #38990 (comment), the available aspect ratio options should be customizable from the theme.json file.
This way the available ratios could be tailored to a specific site's design language, or new aspect ratios could be added. The expectation here the aspect ratios would be shared across any aspect ratio controls (including the hard-crop image edit control).
Priority
Secondary
The text was updated successfully, but these errors were encountered: