How to deal with images having srcSet attributes
« on: February 17, 2022, 09:22:34 AM »

I have discovered an "issue" as also mentioned in older posts:,9177.html

I have this setup in basically all my images as it is the current state of art of front end dev to deliver different image sizes to the end user:

Code: [Select]
<img src="{domain}image-small.jpg" srcset="{domain}image-small.jpg w300, {domain}image-medium.jpg w600, {domain}image-big.jpg 1000w">

My generated images sitemap looks as follows (obfuscated the domain), where the spaces and size width triggers are parsed. But the src attribute is not parsed at all, SG only parses the srcSet.

Code: [Select]

I assume this is not a valid sitemap xml for the search engines.

⁇ Any solution or workaround I can implement ⁇