Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #49412, comment 3


Ignore:
Timestamp:
02/18/2020 12:12:08 AM (7 years ago)
Author:
johnwatkins0

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49412, comment 3

    v1 v2  
    33The only question I have is whether we think it would be useful to have the file size for all intermediate image sizes as well as the full-sized image, or just for the full-sized image?
    44
    5 I think it makes size to store all of them, since the most of the main reasons for having this data involve comparing filesizes -- e.g., when looping through images to find the largest one under a limit.
     5I think it makes sense to store all of them, since the most of the main reasons for having this data involve comparing filesizes -- e.g., when looping through images to find the largest one under a limit.
    66
    77The drawbacks to storing all are (1) more filesize calls at the time an image is uploaded, and (2) inflated metadata.