Changeset 959706
- Timestamp:
- 08/03/2014 10:07:18 PM (12 years ago)
- File:
-
- 1 edited
-
picturefillwp/trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
picturefillwp/trunk/readme.txt
r942963 r959706 12 12 13 13 == Description == 14 15 **Note: This is an implementation of [Picturefill.js version 1.2.x](https://github.com/scottjehl/picturefill/tree/1.2). For an implementation of [Picturefill.js 2.x](http://scottjehl.github.io/picturefill/), see the [master branch of the GitHub repository](https://github.com/kylereicks/picturefill.js.wp/tree/master).** 14 16 15 17 Picturefill.WP is a simple and option-less plugin to serve HDPI and responsive images on a WordPress website. … … 104 106 = Where are the plugin options? = 105 107 106 There aren't any. Breakpoints, as well as retina and responsive images are created based on the image sizes in your media settings. 108 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](https://github.com/kylereicks/picturefill.js.wp/tree/1.3.x#extending-and-customizing-picturefillwp-1) For information on customizing the plugin. 109 110 = Should I use this plugin (1.3.x), or the implementation of [Picturefill 2.0 on GitHub](https://github.com/kylereicks/picturefill.js.wp/tree/master)? = 111 112 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](http://scottjehl.github.io/picturefill/#download), as well as some [support caveats to keep in mind for version 2](http://scottjehl.github.io/picturefill/#gotchas). 107 113 108 114 = Is this plugin on GitHub? = 109 115 110 Yes it is. [Picturefill.WP](https://github.com/kylereicks/picturefill.js.wp )116 Yes it is. [Picturefill.WP](https://github.com/kylereicks/picturefill.js.wp/tree/1.3.x) 111 117 112 118 = Where can I find information about extending the plugin? = 113 119 114 See the [Extending Picturefill.WP](https://github.com/kylereicks/picturefill.js.wp #extending-picturefillwp) subsection of the GitHub repository for a list of plugin hooks and examples.120 See the [Extending Picturefill.WP](https://github.com/kylereicks/picturefill.js.wp/tree/1.3.x#extending-and-customizing-picturefillwp-1) subsection of the GitHub repository for a list of plugin hooks and examples. 115 121 116 122 = Can I use this plugin with another plugin that I always use? = 117 123 118 Probably. See the [using Picturefill.WP with other plugins](https://github.com/kylereicks/picturefill.js.wp #use-with-other-plugins) section of the documentation on GitHub for a few of the plugins that have been discovered may need special consideration.124 Probably. See the [using Picturefill.WP with other plugins](https://github.com/kylereicks/picturefill.js.wp/tree/1.3.x#use-with-other-plugins) section of the documentation on GitHub for a few of the plugins that have been discovered may need special consideration. 119 125 120 126 = Why does this plugin use an "adapted" version of picturefill.js = 121 127 122 The standard version of [picturefill.js](https://github.com/scottjehl/picturefill) will work well enough with Picturefill.WP; however, Picturefill.WP has a slightly dif erent 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 `<picture>` syntax.128 The standard version of [picturefill.js](https://github.com/scottjehl/picturefill) 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 `<picture>` syntax. 123 129 124 130 = Are there any plans to update this plugin to Picturefill 2.0 = 125 131 126 A new version of Picturefill.WP using Picturefill 2.x is in the works. Because of significant diferences between Picturefill 1.x and Picturefill 2.x, the new Picturefill.WP 2 will be maintained alongside the original Picteufill.WP 1.3.x. I will update this plugin with more details as they become available. 127 132 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](https://github.com/kylereicks/picturefill.js.wp/tree/master). 128 133 129 134 == Advanced Use == … … 141 146 ###Helper Functions 142 147 143 See the [helper functions](https://github.com/kylereicks/picturefill.js.wp#helper-functions) section of the documentati n on GitHub.148 See the [helper functions](https://github.com/kylereicks/picturefill.js.wp#helper-functions) section of the documentation on GitHub. 144 149 145 150 == Changelog == … … 179 184 * Fix error in template hooks 180 185 * Add minified templates 181 * Add example to minify HTML ou put186 * Add example to minify HTML output 182 187 183 188 = 1.2.2 = … … 206 211 = 1.1 = 207 212 * Allow for responsive images for non-standard sizes 208 * Add a `min-size` class to limit the respo siveness of an image.213 * Add a `min-size` class to limit the responsiveness of an image. 209 214 210 215 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.