[wp-trac] [WordPress Trac] #61428: Inconsistent image scaling error
WordPress Trac
noreply at wordpress.org
Thu Jun 13 10:22:32 UTC 2024
#61428: Inconsistent image scaling error
--------------------------+-----------------------------
Reporter: gauravsingh7 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Here is how you can reproduce the error:
1. Let's say the original res of my image is 356 x 216
2. Edit the image, and downscale it to 200 x 121 and save it.
3. Now edit the image again, and click on RESTORE ORIGINAL IMAGE
4. Click on Scale button again and change the resolution to something like
230 x 139
5. You will see a warning like this: "Images cannot be scaled to a size
larger than the original."
6. Since the original image was 356 x 216 and we also restored the
original resolution after downscaling, the above error doesn't seem
correct at this point.
Here is a video link reproducing the error:
https://www.dropbox.com/scl/fi/14w4wf5qgdudjl9temqyr/media-size-limit-
scale-bug.mp4?rlkey=p992w2xpvql4twvfc66egta51&st=csvui9ji&dl=1
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61428>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list