Make WordPress Core

Opened 7 years ago

Closed 8 months ago

Last modified 5 months ago

#41466 closed enhancement (fixed)

Allow cropping of images from inside the content editor

Reported by: mor10's profile mor10 Owned by:
Milestone: 5.5 Priority: normal
Severity: normal Version: 4.9
Component: Media Keywords:
Focuses: Cc:


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:

  1. The idea of cropping images to "fit" within the context of content makes no sense when considering RWD.
  2. Users who crop images also expect to be able to uncrop them later or in other contexts when the image is reused.
  3. Hard cropping images by changing the file is becoming a somewhat archaic practice thanks to CSS masking and cropping.

Possible solutions:

  1. 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).
  2. Allow "soft" cropping through CSS (introduces complications with RWD, but better than hard cropping).
  3. Disallow cropping at all.

Change History (6)

This ticket was mentioned in Slack in #core-media by mike. View the logs.

5 years ago

#2 @kirasong
5 years ago

  • Milestone changed from Awaiting Review to Future Release

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?

#3 @mor10
5 years ago

I opened a duplicate ticket on Gutenberg:

Last edited 5 years ago by mor10 (previous) (diff)

This ticket was mentioned in Slack in #core-restapi by spacedmonkey. View the logs.

4 years ago

#5 @joedolson
8 months ago

  • Resolution set to fixed
  • Status changed from new to closed

This capability now exists in the block editor; closing as fixed.

#6 @swissspidy
5 months ago

  • Milestone changed from Future Release to 5.5
Note: See TracTickets for help on using tickets.