[wp-trac] [WordPress Trac] #36477: Responsive images(srcset) feature makes images fatter.

WordPress Trac noreply at wordpress.org
Tue May 31 03:09:19 UTC 2016


#36477: Responsive images(srcset) feature makes images fatter.
----------------------------+--------------------------
 Reporter:  peterdavehello  |       Owner:  joemcgill
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  4.6
Component:  Upload          |     Version:  4.4.2
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  performance
----------------------------+--------------------------

Comment (by nosilver4u):

 Replying to [comment:6 joemcgill]:
 > The idea of trying to explicitly make file size a consideration when
 calculating `srcset` attributes.

 The unfun side-effect of that is all the I.O. plugins need to make sure to
 update that information in the metadata after optimization as well. And I
 don't know that you need to use the Imagick method to get the file size,
 do you? Wouldn't a quick call to filesize() be sufficient after the
 resizes has been saved?

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


More information about the wp-trac mailing list