Opened 6 years ago
Closed 7 weeks ago
#41466 closed enhancement (fixed)
Allow cropping of images from inside the content editor
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 4.9 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
In user testing, several people have requested the ability to crop images in the editor context after they have been placed. The expectation seems to be that this should be possible, and the abstraction of having to go to the edit media panel to do this results in the user having to crop the image multiple times to "get it right".
This suggestion has several significant sticking points:
- The idea of cropping images to "fit" within the context of content makes no sense when considering RWD.
- Users who crop images also expect to be able to uncrop them later or in other contexts when the image is reused.
- Hard cropping images by changing the file is becoming a somewhat archaic practice thanks to CSS masking and cropping.
Possible solutions:
- Provide tools for theme developers to provide display sizes and shapes for images in the editor through CSS and take full advantage of RICG image scaling (related to #35094).
- Allow "soft" cropping through CSS (introduces complications with RWD, but better than hard cropping).
- Disallow cropping at all.
Change History (5)
This ticket was mentioned in Slack in #core-media by mike. View the logs.
5 years ago
This ticket was mentioned in Slack in #core-restapi by spacedmonkey. View the logs.
3 years ago
Note: See
TracTickets for help on using
tickets.
Hey @mor10! Thanks for this report!
Saw this as we are going through triage. I agree this should be a feature in WordPress. Do you think at this point it belongs more in a Gutenberg ticket, or it'd make sense to leave this one open, and open one in Gutenberg as well, if there isn't already one?