Solution for display .webp alternative files
Posted: Thu Jan 14, 2021 5:59 pm
In one of my projects, I decided to use the .webp format for all images.
I tested it on several of new version of browsers and phones: iPhone with Safari/Firefox (iOS 14+), Android with Chrome/Firefox (Android 10+) etc.
Images display without any problems.
I'm a bit worried about old browsers and old phones.
It's known that I.E. not support .webp.
There is also a thread on the forum with information, that .webp not display in iOS (probably some old iPhone).
So, how to set the main picture to .webp and OPTIONAL - (.jpg or other ) for old and not supported browsers ?
I tried "Adapive Images" for Picture and "Retina Image" for Image, but it does not work (always display .jpg first).
There is any way to solve this "problem" ?
No problem with a small project, which will not be updated in WWB (I found various solutions on the web),
but if the project is bigger and I want to use WWB for future extension and updating of the site - it will be trouble and take more time...
I tested it on several of new version of browsers and phones: iPhone with Safari/Firefox (iOS 14+), Android with Chrome/Firefox (Android 10+) etc.
Images display without any problems.
I'm a bit worried about old browsers and old phones.
It's known that I.E. not support .webp.
There is also a thread on the forum with information, that .webp not display in iOS (probably some old iPhone).
So, how to set the main picture to .webp and OPTIONAL - (.jpg or other ) for old and not supported browsers ?
I tried "Adapive Images" for Picture and "Retina Image" for Image, but it does not work (always display .jpg first).
There is any way to solve this "problem" ?
No problem with a small project, which will not be updated in WWB (I found various solutions on the web),
but if the project is bigger and I want to use WWB for future extension and updating of the site - it will be trouble and take more time...