Change extension to .jpg when webp is not supported

I think the best way to filter out the browsers for supporting webp is to do it on client-side width html element or Javascript, not with php on the server-side. If you want to do it by php you need to look at: $_SERVER[‘HTTP_USER_AGENT’] That will contain the User-Agent string for the browser. Beware that … Read more