WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#34850 new defect (bug)

Image Cropping

Reported by: ethanmfarmer Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3.1
Component: Media Keywords: needs-patch
Focuses: javascript Cc:
PR Number:

Description

The image crop tool won't allow for cropping of images in the media library. After rotating an image, however it is croppable.

Attachments (1)

Screen Shot 2015-12-05 at 11.46.38 AM.png (131.4 KB) - added by tylerfugazzie 4 years ago.
cropping

Download all attachments as: .zip

Change History (7)

#1 in reply to: ↑ description @tylerfugazzie
4 years ago

See my attachment. You had selected the cropping area on the image with your cursor before trying to crop? It's a bit wonky since it works differently than some cropping tools in other image editors but I don't think it's a bug unless you've tried this and it still doesn't work.

Replying to ethanmfarmer:

The image crop tool won't allow for cropping of images in the media library. After rotating an image, however it is croppable.

#2 @swissspidy
4 years ago

  • Keywords reporter-feedback added

#3 @ethanmfarmer
4 years ago

Yes, I had tried that - it worked fine up until the last wordpress system update. When I select the desired area and hit the crop button nothing happens - tried on three installs accessing from different OS' and browsers.

#4 @mlelieveld
4 years ago

Hi @ethanmfarmer

I also experience the same bug in version 4.4.1.
Indeed image crop only works after triggering other image edit functions like rotating a few times.

Would be nice if a fix is provided.

#5 @joemcgill
4 years ago

  • Keywords needs-patch added; reporter-feedback removed

I can confirm that this is an issue when you're on the post edit screen for attachments outside the wp.media modal (e.g., when you try editing an image in the media library when viewing the library in list mode). Looks like the JS isn't properly updating the selection coordinates (screenshot: https://cloudup.com/cqDCU5PMSXZ).

Last edited 4 years ago by joemcgill (previous) (diff)

#6 @ericlewis
4 years ago

  • Focuses javascript added
  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.