Support » Plugin: Perfect Images (Retina, Thumbnails, Replace & CDN) » Changing img src w/ jquery

  • Resolved bacoords


    Great plugin! I have a plugin that I’ve developed but it conflicts with this plugin and I’m trying to see how to resolve it on my end.

    Basically I change the img ‘src’ attribute w/ jquery, but the srcset generated by the picturefill doesn’t regenerate. I’ve tried including the picturefill mutation plugin and also just calling the regenerate method:

      reevaluate: true,
      elements: [ document.getElementById( "myImg" ) ]

    none of these seems to get the picturefill method to regenerate.

    do you have any suggestions?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Changing img src w/ jquery’ is closed to new replies.