Support » Plugin: Responsify WP » Can’t generate srcset on some images

  • I have a staging and production environment, and the plugin has a hard time generating a srcset on some post images in my prod environment. There seem to be no interfering plugins, it just fails sometimes and just leaves the regular old markup there.

    My host strips out comments, so I can’t get debug mode going. Do you have any idea why it sometimes skips images?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author stefanledin


    Hi Bonusball!
    So it does work on the staging server? Maybe you could try and change the markup pattern to <picture>? If they still are , RWP isn’t able to modify them for some reason.

    Hi Stephan,

    Yes, it works beautifully on staging. I tried using <picture> but that didn’t work.

    I contacted my host and they said that production is cached with Varnish/Nginx and maybe a cookie or arg needs to be excluded from the cache for this to work properly?

    It turns out that my host doesn’t strip out comments, but debug mode doesn’t output on prod, so surely there must be something cached there. Do you have any idea what it could be? If I pass it on to them they can exclude it from cache.

    Plugin Author stefanledin


    The only thing I can think of that might be cached is the plugin settings. That would explain why <img> isn’t replaced by <picture> and why the debug mode isn’t turned on.
    If it helps, you can see the names of each setting here:



    Hello Stephan

    Sorry for the late reply. I worked with my host to resolve the problem, eventually we totally turned off caching altogether, and it still didn’t work. I use WP Engine.

    They are wondering if it’s a cookies or sessions problem

    Do you think this might be it?

    Plugin Author stefanledin


    No, I’m not using any cookies or sessions. I have no idea what to do I’m afraid.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t generate srcset on some images’ is closed to new replies.