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

WordPress Trac noreply at wordpress.org
Sat May 28 15:27:09 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
----------------------------+--------------------------
Changes (by joemcgill):

 * status:  reviewing => accepted
 * milestone:  Awaiting Review => 4.6


Comment:

 The idea of trying to explicitly make file size a consideration when
 calculating `srcset` attributes. However, this will require us to add the
 file size of each image as attachment metadata. Perhaps we could use
 `Imagick::getImageLength` during the resize process to grab this info?

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


More information about the wp-trac mailing list