[wp-trac] [WordPress Trac] #44655: Introduce alternative srcset option for custom logo

WordPress Trac noreply at wordpress.org
Fri Jul 27 16:36:34 UTC 2018


#44655: Introduce alternative srcset option for custom logo
-------------------------+------------------------------
 Reporter:  mrmadhat     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by joemcgill):

 @mrmadhat Thanks for raising this issue, there definitely may be more we
 can do to improve the native responsive image code here. A few notes:
 resizing with CSS should be totally fine as long as the `sizes` attribute
 is modified to match the expected layout needs. One of the reasons you're
 likely not seeing the changes locally is that once a browser has
 downloaded and cached a source that is equal to or larger than what is
 needed, it will use that instead of downloading a smaller size in order to
 avoid an unnecessary additional request.

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


More information about the wp-trac mailing list