A WordPress plugin to use picturefill.js to load responsive/retina images, mimicking the proposed HTML5 picture spec.
There aren't any. Breakpoints, as well as retina and responsive images are created based on the image sizes in your media settings. See Extending and Customizing Picturefill.WP 1 For information on customizing the plugin.
There are a number of reasons why you might want to use either. The Picturefill project site provides a basic breakdown of the two versions, as well as some support caveats to keep in mind for version 2.
Yes it is. Picturefill.WP
See the Extending Picturefill.WP subsection of the GitHub repository for a list of plugin hooks and examples.
Probably. See the using Picturefill.WP with other plugins section of the documentation on GitHub for a few of the plugins that have been discovered may need special consideration.
The standard version of picturefill.js will work well enough with Picturefill.WP; however, Picturefill.WP has a slightly different goal than picturefill.js. Picturefill.js aims to pollyfill the proposed
<picture> element. It expects a special
<picture> like markup, and outputs the appropriate
<img>, but the resulting
<img> does not include a class, id or other attribute. The generated
<img> tags can only be targeted by the attributes of its parent elements. Picturefill.WP aims to take an
<img> and then output an
<img> exactly like it, apart form the width or pixel density. This way,
<img> tags can be targeted without regard to the
The plugin in this repository will remain an implementation of Picturefill 1.2. If you are looking for an implementation of Picturefill 2.0, please see the master branch of the GitHub repository.
Requires: 3.2 or higher
Compatible up to: 3.9.13
Last Updated: 2 years ago
Active Installs: 300+
Got something to say? Need help?