WordPress / gutenberg

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

Add free-form crop #22582

Open ajlende opened 4 years ago

ajlende commented 4 years ago

21024 introduced cropping with fixed aspect ratios. Sometimes, however, it would be nice to crop the image without being restricted by the available aspect ratios like in the original prototype.

rich-image prototype

Tasks

mrfoxtalbot commented 1 year ago

Thank you for reporting this @ajlende. I believe this is being discussed in https://github.com/WordPress/gutenberg/issues/38990

I think we can close this issue in favor of the other one as it has a much lengthier discussion.

ajlende commented 1 year ago

https://github.com/WordPress/gutenberg/issues/38990 refers to the aspect-ratio CSS property that doesn't make edits to the image.

This issue refers to the actual image editor adding a drag crop interaction in conjunction to the zoom crop that exists.

andrewserong commented 5 months ago

I know this is an old issue, but it'd be good to revive as there's still a need for good freeform cropping tools in the block editor. Another thing to look at is the visibility of the cropping presets. Currently, once you enter cropping mode, you need to know that this item in the toolbar allows you to select from cropping presets. I observed a user who was unable to find this dropdown after activating the cropping mode, so I'm wondering if while looking at free-form cropping, if we can also look at the visibility of the controls to select from presets. This is the dropdown I mean:

image

I've updated the issue description to reflect this note.

noisysocks commented 2 months ago

Very unlikely this will make it into 6.7 – I've punted it in the project board.