• All widths are specified in attr srcset, but W3C Validation throws error
    Error:

    Bad value data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271280%27%20height%3D%27720%27%20viewBox%3D%270%200%20194%2069%27%2F%3E for attribute srcset on element img: No width specified for image data:image/svg+xml;charse…0%200%20194%2069%27%2F%3E. (When the sizes attribute is present, all image candidate strings must specify a width.)

    Code:
    <img class="alignnone size-full wp-image-46808 demilazyload" src="https://planet-mcpe.com/wp-content/uploads/2021/06/minecraft-1-17.jpg" alt="Обложка Майнкрафт 1.17" width="1280" height="720" srcset="data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271280%27%20height%3D%27720%27%20viewBox%3D%270%200%20194%2069%27%2F%3E" sizes="(max-width: 1280px) 100vw, 1280px" data-srcsetoriginal="https://planet-mcpe.com/wp-content/uploads/2021/06/minecraft-1-17.jpg 1280w, https://planet-mcpe.com/wp-content/uploads/2021/06/minecraft-1-17-300x169.jpg 300w, https://planet-mcpe.com/wp-content/uploads/2021/06/minecraft-1-17-1024x576.jpg 1024w" />

    Is it because of the symbols in pic’s path? Is there any way to fix it in the settings, or do i have to alter plugin’s code now?

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

The topic ‘WebP Express validation error’ is closed to new replies.