[wp-trac] [WordPress Trac] #55070: Image Editing Cropping is not working properly

WordPress Trac noreply at wordpress.org
Wed May 11 21:41:09 UTC 2022

#55070: Image Editing Cropping is not working properly
 Reporter:  andy786                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.1
Component:  Media                                |     Version:  5.9
 Severity:  critical                             |  Resolution:
 Keywords:  has-patch has-screenshots has-       |     Focuses:
  testing-info                                   |
Changes (by ironprogrammer):

 * keywords:  has-patch has-screenshots => has-patch has-screenshots has-


 Replying to [comment:11 adamsilverstein]:

 > to clarify, this is (only) about the image that is displayed in the
 media library in the "edit image" screen, right?

 👍🏻 Yes, after the crop has been applied and saved.

 > when you insert the cropped image into a post for example, does the
 correct cropped version get used?

 👍🏻 Yes, the cropped image is what is ultimately inserted into the post.

 > worth noting that WordPress keeps the original image when making these
 crops, so displaying the original un-cropped image might be considered
 expected behavior (if consistent).

 The issue was raised due to an inconsistency that was discovered. When a
 user crops an image that is ''larger'' than the configured "Large image"
 media size, the preview of the image accurately reflects the crop applied
 -- but under the reported conditions, the preview does ''not'' reflect the

 In terms of expected behavior, I believe we're following that when a user
 is ready to insert the image, that the preview displayed is an accurate
 representation of what will be inserted into the post.

 Thank you for highlighting the fact that this is a ''display issue'', but
 does not affect the final image or post. 🙌🏻

Ticket URL: <https://core.trac.wordpress.org/ticket/55070#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list