[wp-trac] [WordPress Trac] #35030: New responsive images
WordPress Trac
noreply at wordpress.org
Sat Dec 12 04:13:47 UTC 2015
#35030: New responsive images
-------------------------------+------------------------------
Reporter: tonysandwich | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 4.4
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by joemcgill):
Thanks for the added info @tonysandwich.
I see that your BrowserStack demo is using iOS8, which didn't have support
for `srcset` with `w` descriptors. So what you're probably seeing is the
400px image in the `src` shown on a retina screen. You should be able to
add [http://scottjehl.github.io/picturefill/ picturefill] to polyfill this
functionality for older browsers that don't support the new responsive
image attributes, but I will warn you that doing so can lead to double
downloads in iOS8 (see the "Any Drawbacks" section in
[https://www.filamentgroup.com/lab/to-picturefill.html this article]).
A quick way to test this is to install the [https://wordpress.org/plugins
/ricg-responsive-images/ RICG Responsive Images] plugin, which will add
picturefill for you by default. Can you let me know this ends up being
correct?
Thanks,
Joe
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35030#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list