[wp-trac] [WordPress Trac] #31004: Support srcset in avatars.

WordPress Trac noreply at wordpress.org
Mon Feb 2 00:16:25 UTC 2015


#31004: Support srcset in avatars.
-----------------------------+------------------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by pento):

 I'm definitely in favour of adding `srcset` support, though I have a
 couple of reservations about this patch.

 * Browser support is currently at [http://caniuse.com/#feat=srcset ~50%].
 I think we'd need to provide a shim for compatibility with all browsers.
 (I haven't investigated the current state of such shims.)
 * The code for generating the sizes seems more appropriate as part of the
 [https://wordpress.org/plugins/ricg-responsive-images/ responsive-images
 plugin]. I don't really want to preempt the work done in that plugin, when
 we're relatively close to a global solution.

 I'd like to see this land in the feature plugin first. If there are any
 extra filters required, we can probably add them in (either temporary or
 permanent, as needed).

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


More information about the wp-trac mailing list