Make WordPress Core

Opened 11 years ago

Closed 3 years ago

#34850 closed defect (bug) (fixed)

Image Cropping

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

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 11 years ago.
cropping

Download all attachments as: .zip

Change History (8)

#1 in reply to: ↑ description @tylerfugazzie
11 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
11 years ago

  • Keywords reporter-feedback added

#3 @ethanmfarmer
11 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
11 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
11 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 11 years ago by joemcgill (previous) (diff)

#6 @ericlewis
11 years ago

  • Focuses javascript added
  • Milestone Awaiting Review → Future Release

#7 @joedolson
3 years ago

  • Resolution → fixed
  • Status new → closed

This was fixed as part of the work on #50523; closing as fixed. If there is a case where this is still an issue, feel free to reopen.

Note: See TracTickets for help on using tickets.