It does cover webp as well. From several google pages the default compression was 86. You could also test to confirm by uploading a few with different settings in your functions. This issue on Github shows they changed the default quality to 82. https://github.com/WordPress/performance/issues/563. We can see that webp images use the same quality value … Read more
Try running the WP CLI command search-replace to update all uses in the database. If you cannot access the WP CLI, there are plugins that will do database search and replaces as well.
Ok, I found the issue. After uploading the image programmatically I was calling wp_update_attachment_metadata to set the file metadata. Apparently, that was creating this issue and srcset was not being set. I have no idea why this is related though 🙂
WordPress + REST API + featured_image
How to Create Grey Background for Product Images on Website Display but Retain White Background on Downloaded JPGs?
What could be the issue. You unzipped the theme and put its files in the root WordPress folder, overwriting important files and breaking your site. Doing this will always break your site. It only needs to happen once for it to break your site. The website had been functioning well for almost a year. Irrelevant. … Read more
I’m not 100% sure if I understand your question 100%, but WordPress, by default, displays the caption if it’s filled on the image. Then it displays it just below the image once the image is inserted. Here is an example where I just filled it out on one image 👇
You can do that by using the comment_text filter. It runs for each comment, so with some regex you can find all links in the comment and loop through them. You make one more check to make sure the link has an image extension (jpg, jpeg, png, etc). If it does, we can embed it … Read more
How to make Media Library files private?
images map on website not working