Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48736, comment 5


Ignore:
Timestamp:
11/21/2019 08:38:33 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48736, comment 5

    initial v1  
    1616Right. The changes in WP 5.3 expand and enhance WordPress' ability to serve images better. Generally the change was to add up to three larger image sub-sizes. This was done to support more devices with larger screens and/or high-density displays. Inside WordPress the largest size is also set as the "full" size. This ensures that original images are never used when they are "too big" for web use.  There is a filter to control what the "too big" threshold is.
    1717
    18 However it seems that PHP (GD and ImageMagick) do not handle resizing/scaling of very large PNG images well. So this ticket is to (temporarily?) turn off replacing the "full" size image with a scaled down version, and use the originally uploaded image as before.
     18However it seems that in some cases PHP (GD and ImageMagick) do not handle resizing/scaling of very large PNG images well. So this ticket is to (temporarily?) turn off replacing the "full" size image with a scaled down version, and use the originally uploaded image as before.
    1919
    2020I'm also thinking that more testing/consideration is needed on whether to create large sub-sizes for PNGs at all. Seems in some cases even a 1024px PNG can have very large file size, 2MB and over, when resized from PHP.