Support » Plugin: WP Retina 2x » Picturefill Mutation plugin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow



    That looks really interesting, I didn’t knew about it at all. So I just need to load this instead of the PictureFill script? Or along with it?

    It doesn’t cost anything to add an option to load this script instead of the previous one, I can just add an option for people to try it out πŸ™‚ Definitely!


    I’m not really sure how to implement it, but it seems you either need to simply call it alongside picturefill or also somehow require it when you load picturefill.

    There’s surprisingly little information on this plugin, but people recommend it on StackOverflow for situations where pictures are being loaded into the DOM dynamically with AJAX and JS.

    Here are some links that seem relevant:

    The page at says:

    Mutation plugin: This plugin automatically detects any DOM mutation and polyfills new or changed responsive images automatically. It also adds support for responsive images IDL attributes/properties. If you have a highly dynamic website or a SPA you probably want to use this plugin. (This plugin does not work with IE8.)

    And this one says:

    Including both picturefill.min.js plugins/mutation/pf.mutation.min.js on the page will allow last year’s browser to display your lovely mobile images.

    Plugin Author Jordy Meow


    That’s definitely interesting. Do you actually use it? I am not sure my users will understand, most of them have difficulties understanding this, and loading this script (even as an option) might make everything even more obscure.

    I am keeping this open here, I would like to see if somebody else is interested πŸ™‚ If yes, I would definitely add it, that’s easy for me to add πŸ™‚

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Picturefill Mutation plugin’ is closed to new replies.