[wp-trac] [WordPress Trac] #33641: Add support for responsive images using srcset and sizes (was: Add support for srcset and sizes.)

WordPress Trac noreply at wordpress.org
Wed Sep 2 00:49:36 UTC 2015


#33641: Add support for responsive images using srcset and sizes
-------------------------+------------------------------
 Reporter:  joemcgill    |       Owner:  DH-Shredder
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------
Changes (by DH-Shredder):

 * owner:   => DH-Shredder
 * status:  new => assigned


Old description:

> When image markup is generated in WordPress, we should automatically
> include srcset and sizes attributes when possible in order to provide
> basic responsive image support.
>
> With this as the goal, members of the RICG have created an initial proof
> of concept as a feature plugin named [https://wordpress.org/plugins/ricg-
> responsive-images/ RICG Responsive Images]. This implementation makes use
> of the default intermediate image sizes and can also include additional
> custom image sizes when appropriate.

New description:

 When image markup is generated in WordPress, we should automatically
 include `srcset` and `sizes` attributes when possible in order to provide
 basic responsive image support.

 To provide this, members of the [https://responsiveimages.org/ Responsive
 Images Community Group] created a [https://wordpress.org/plugins/ricg-
 responsive-images/ feature plugin], with development on
 [https://github.com/ResponsiveImagesCG/wp-tevko-responsive-images GitHub].

 The plugin uses the default image sizes and available custom image sizes
 of the same aspect ratio when generating markup. It does not create
 additional sizes.

 This is a placeholder ticket for initial patches, to become a tracking
 ticket if/when the plugin is approved for merge.

--

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


More information about the wp-trac mailing list