[wp-trac] [WordPress Trac] #36962: Responsive images WONT work in mobiles

WordPress Trac noreply at wordpress.org
Sat May 28 14:00:17 UTC 2016


#36962: Responsive images WONT work in mobiles
--------------------------+-------------------------
 Reporter:  gabu69        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  4.5.2
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------

Comment (by joemcgill):

 With the `srcset` and `sizes` markup pattern, the image selection is
 totally up to the browser and not something that can be controlled from
 the developer side (by design). If you want to force the browser to choose
 a specific image, you would probably need to create your own markup using
 something like the `<picture>` element (see:
 http://responsiveimages.org/).

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


More information about the wp-trac mailing list