How to troubleshoot missing srcset and sizes
-
Hi there,
This plugin looks great for my needs, but sadly doesn’t work yet. Here’s where I am:
(1) The plugin is activated. When I look at the page source, I see the following JS at the bottom of the page, so I believe it’s doing *something*:
<script type='text/javascript' src='https://www.thecastawaylife.com/blog/wp-content/plugins/ricg-responsive-images/js/picturefill.min.js?ver=2.3.0'></script>
but none of the IMG tags have srcset or sizes.
(2) I’ve disabled Photon image caching, WP Super Cache and autooptimize to prevent getting fooled by caching.
(3) I’ve tried uploading new images and looking at pre-existing posts with images; none of them have the extra markup.
I’m at a loss for what to check next. I wonder if the problem has something to do with using markdown for my posts; I don’t know enough WP internals to know exactly where in the pipeline the extra attributes are added.
PS: I’d love to get a troubleshooting guide together for this. Is one in the works? Is there a way to contribute?
- The topic ‘How to troubleshoot missing srcset and sizes’ is closed to new replies.