optimization – Load Webp Version of Image if it exists
I am working on loading webp version of image if exists ,
I have prepared other steps currently from detecting images and whatever , but I can’t find how to replace image with the webp version ,
This is my essay
Do anyone has an idea?
Thanks in advance