[wp-trac] [WordPress Trac] #34528: Responsive Images: Don't add srcset attributes to animated gifs.

WordPress Trac noreply at wordpress.org
Sat Oct 31 20:53:16 UTC 2015


#34528: Responsive Images: Don't add srcset attributes to animated gifs.
--------------------------------------+------------------------
 Reporter:  joemcgill                 |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.4
Component:  Media                     |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by DH-Shredder):

 I was chatting with @joehoyle about this.  Two things:

 - Since we're already flattening any resized image, this should only be a
 problem if the original size is being specifically chosen, correct?  Maybe
 we can specifically target those, to make responsive images for for the
 other cases?

 - PNGs can also be animated, so we need to address them as well, and I
 would hate to see them lose responsive support completely.  If we do the
 above, it should keep most of the support intact.

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


More information about the wp-trac mailing list