View Single Post
Old 04-18-2022, 02:15 AM  
zijlstravideo
Confirmed User
 
zijlstravideo's Avatar
 
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
Quote:
Originally Posted by AmeliaG View Post
Plus a lot of stuff doesn’t play well with those formats.
True, webp isn't fully supported on all devices yet... So you should use the <picture> tag and let the browser decide which format to display.

<picture>
<source srcset="boobies.webp" type="image/webp">
<source srcset="boobies.jpg" type="image/jpeg">
<img src='boobies.jpg'>
</picture>


An option would be to use the free Windows tool Xnconvert, download all your site's jpg files to your pc, convert them all with Xnconvert, then reupload those webp files.

PHP can convert jpg images in 3 or 4 lines of code, using ImageCreateFromString and store the webp file with imagewebp. Just include it in the upload form so it's automated. You can probably hire someone of Fiverr to do that for you for a few bucks, as it probably takes 10 minutes or so to get it fixed.
__________________
Contact: email
zijlstravideo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote