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

WordPress Trac noreply at wordpress.org
Thu Mar 31 20:45:29 UTC 2022


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

Comment (by antonvlasenko):

 Steps to test this PR:
 1. Upload a relatively large image to the Media Gallery (at least 2000x
 1500 pixels). It's just easier to test this issue with a bigger image.
 2. Click on the image.
 3. Click on the "Edit Image" button below the image.
 4. Crop the image (using the "Crop" button above the image).
 5. A cropped image should be about 400 x 400 pixels in size. Either width
 or height of the cropped image must not exceed 767 pixels.
 6. Save the cropped image (click on the "Save" button).
 7. You should be able to see the cropped image. Before the fix, WordPress
 would display the original image and not the cropped one.
 8. [Additional step] You can crop the image again and observe that it's
 displayed correctly.

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


More information about the wp-trac mailing list