[wp-trac] [WordPress Trac] #39387: Responsive Images Broken When Full Size <= 300 px

WordPress Trac noreply at wordpress.org
Sun Dec 25 14:59:42 UTC 2016


#39387: Responsive Images Broken When Full Size <= 300 px
--------------------------+------------------
 Reporter:  miqrogroove   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.8
Component:  Media         |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------
Changes (by miqrogroove):

 * milestone:  Awaiting Review => 4.8


Comment:

 Bug located in wp-includes/media.php:

 {{{
         /*
          * WordPress flattens animated GIFs into one frame when generating
 intermediate sizes.
          * To avoid hiding animation in user content, if src is a full
 size GIF, a srcset attribute is not generated.
          * If src is an intermediate size GIF, the full size is excluded
 from srcset to keep a flattened GIF from becoming animated.
          */
 }}}

 I'm going to propose a filter to turn off the broken logic for responsive
 GIF images.  Setting milestone 4.8.

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


More information about the wp-trac mailing list