You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebP images 1.0.4: WebP sources inside existing <picture> elements
Existing <picture> elements (for example a theme's art-directed lead image with a mobile <source>) now get WebP too. In picture mode, a WebP <source> is added before each JPEG/PNG <source>, with the same media and sizes, and another one before the <img>. In replace mode their srcsets point to the WebP files.
A <picture> that already has a WebP <source> is left as it is. class="no-webp" or data-no-webp on the <picture> or its <img> also leaves it alone.