WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.32k stars 4.12k forks source link

Media & Text Block: add aspect ratio controls for images #56498

Open liviopv opened 9 months ago

liviopv commented 9 months ago

What problem does this address?

Currently, the only way to adjust how an image file is displayed in the block without changing the whole block structure by increasing and decreasing the media width, or editing the image elsewhere.

What is your proposed solution?

If the user selected an image as the media file, the block should give the option to set a fixed aspect ratio for the image, similar to what's available in the Image Block.

gyurmey2 commented 4 months ago

+1

corentin-gautier commented 3 months ago

+1