Webp for Bloc background images

I am using the export Webp feature and I am seeing something I can’t explain. After uploading the site I see that all images on the site are using the webp alternative, which is good :wink:

With one exception: Blocs which have a background image, such as a hero image at the top of the page. These are still using the original JPGs, although I can see that the webp versions exist and are loaded.

???

I was wrong though at the time.

I wasn’t familiar with the image-set property for background-image. Very cool. :sunglasses:

Learning everyday. :man_student:

1 Like

I had to look into this also. It is pretty cool.
https://codepen.io/jonneal/pen/XROOmZ