TheCastawaylife
Forum Replies Created
-
Forum: Plugins
In reply to: [RICG Responsive Images] How to troubleshoot missing srcset and sizesGetting closer!
I created a new post in the editor and added an image via ‘Add Media’. This worked — I see sizes and srcset.
In my normal workflow, I don’t use the MD syntax for images as you reference above (![]()), I stick in <img> tags, usually with some styling. Should those get rewritten?
In addition, do you expect <img> tags coming in through xmlrpc (I write using MarsEdit and never use the web editor) to get rewritten. I also use the markup-to-featured-image plugin rather than setting a featured image in the editor.
Thanks,
Forum: Plugins
In reply to: [RICG Responsive Images] How to troubleshoot missing srcset and sizesOkay it doesn’t seem to markup images as expected, even for new images and new posts. So, let me as some more questions:
(1) Looking at the code — I’m unfamiliar with both PHP and WordPress’s architecture — it looks like the attributes get added only when the image gets added in the editor window. Is that a correct reading? If a post comes through xml rpc complete with <img> tags, is the plugin still supposed to update it?
(2) I’m using Markdown. Do you know if anyone has successfully used this plugin in a blog where all the posts are (and remain) markdown?Thanks!
Great. So I should be good from here on out, and when the cache purge feature goes it I should be good for all the previous posts.
Thanks Jeremy!
Hi there!
Another vote for cache flushing. Especially for those of us who post 500 images AND THEN learn about page speed…
But it raises a general question in my mind even for the future posts. If I use EWWW Image Optimizer to generate the optimized and resized images, is there a race condition with photon? i.e. I post with the full-res version, the image optimizer runs in the background. If there’s a page load through the photon cache before that completes, is there a chance it’ll store the unoptimized version forever?
My understanding of this stuff is hazy at best, so I’m just looking for best practices in making optimized/resized images work.
Thanks,