• claybaby

    (@claybaby)


    I have a local site and a production site, both on 4.4.2. On my local, I’m linking to an image like this:

    $header_image = '/wp-content/themes/' . get_stylesheet() . '/images/logoW.png';
    sprintf(<img src=%s>, $header_image)

    WordPress 4.4 does it’s automagic and serves a srcset with both the lower resolution and higher resolution images. But on the production site, it’s only serving the src.

    a) Am I doing it wrong?
    b) How can I debug the production issue?

  • The topic ‘production site not serving srcset’ is closed to new replies.