• Hello guys, and thank you for this plugin! IT’s a great idea to actually make use of the different resized images WordPress generates by default ??

    I use featured images in my posts, and I have checked the box “Use on Thumbnails” but there is no srcset attribute in the featured images, whether it’s the single post page or the main posts page.
    Is this a bug or does WordPress works differently than I think?

    • The page I am referring to has a featured image width of 772 and I have medium_large and large settings of 616 and 750 respectively, and the resized thumbnails do exist.
    • I have set up breakpoints at 992px and 1200px for medium_large and large.
    • The theme I use is based on bootstrap and sets up the_post_thumbnail(‘large’) for single posts.
    • Thus, on a desktop, this featured image is set to large only and overflows the window even when I resize and refresh.

    Whether I have to tweak the theme or it’s WordPress that doesn’t detect the viewport, I should at least see a srcset attribute in the image, am I wrong?

    thanks for any explanation ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author stefanledin

    (@stefanledin)

    Hi audioscavenger!
    I see that the featured images has data-medium-file and other special attributes, which might indicate that the theme already does something with the image.

    Enable the debug mode on the RWP settings page and see if any HTML comments is outputted above the images. By doing this, we know if RWP is able to do anything at all with the images.

Viewing 1 replies (of 1 total)
  • The topic ‘no srcset for featured thumbnails’ is closed to new replies.