[wp-trac] [WordPress Trac] #43524: Add another default image size

WordPress Trac noreply at wordpress.org
Mon Aug 26 18:09:04 UTC 2019


#43524: Add another default image size
-----------------------------------+------------------------
 Reporter:  azaozz                 |       Owner:  joemcgill
     Type:  enhancement            |      Status:  assigned
 Priority:  normal                 |   Milestone:  5.3
Component:  Media                  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------

Comment (by pierlo):

 Replying to [comment:28 azaozz]:

 Yes I think removing the UI for choosing one of the "classic" image sizes
 is outdated and should be removed.

 > There is no longer a good reason to have different images with different
 sub-sizes with the same sub-size name.

 That got me thinking, how do websites dedicated to photography deal with
 this issue? Using Unsplash as an example, they compress uploads because
 ''"it results in dramatically smaller file sizes while providing the same
 quality photo"'' [https://medium.com/unsplash/the-5-minute-guide-to-image-
 quality-ad7c3503c845 (source)]. Also, they generate `srcset` and `sizes`
 attributes based on the image size, with the last URL in the `srcset`
 being the original uploaded image.

 With that said, I say we remove these sub-sizes, and instead generate the
 sub-images based on the image itself. One major concern however is the
 amount of memory needed for the dynamic resizing of images. Perhaps with
 #40439 it is no longer necessary, or to let the user know that images
 greater a certain size cannot be handled by the server.

 > Yeah, the 1600px value was (mostly) arbitrary, based on current usage.
 Wondering how you came up with 2624px though. Is that some sort of a
 standard width somewhere on the internet?

 I simply added 1024 to it, no specific reason :)

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


More information about the wp-trac mailing list