[wp-trac] [WordPress Trac] #46835: unnecessary image size created
WordPress Trac
noreply at wordpress.org
Mon Apr 8 21:14:39 UTC 2019
#46835: unnecessary image size created
---------------------------+-----------------------------
Reporter: ctrlaltdelete | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.1
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
[[Image(https://i.stack.imgur.com/JDFyd.png)]]
This is hard to explain. I have the medium size set to 640px wide.
If i upload an image that is exactly 640px wide. It creates an unnecessary
copy of it that matches the original image in every sense.
The problem is that when i upload an image that's exactly 640px wide it
makes a copy like so:
image.png (is 640x640 px)
image-640x640.png (is ALSO 640x640 px, so why create it?)
The medium (640px) size should only be created if the original image is
Wider than that, not equal.
I hope i explained it well enough. Let me know if it needs clarification.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46835>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list