And there is a drag & drop application to convert from jpeg/png to WebP. There is an extension to macOS that integrates WebP into Finder and with Quick Look. Although image editing application support for WebP is still limited, there is a Photoshop extensions which allow to save images in WebP format. By that, I am referring to actually uploading images in WebP format (without the need for an additional image conversion plugin). Given that WebP support of your audience is sufficient, and that you are using WordPress greater than v5.8, you can start to use WebP now. Remember, that in ecommerce even a minority of 5% of your visitors is a relevant group. For example when your audiences’ browsers support is above a certain percentage (for example above 99%). Instead you could just wait another year or two and do the switch to WebP at a later point. Although this is technically possible and can be done programmatically, I consider this work to be unnecessary. This adds extra complexity to your image assets, they always need to be provided in both formats. Although there a ways to provide WebP to modern browsers and jpeg or png to older browsers, I don’t think the effort is justified. If you can’t afford that even the tiniest percentage of your visitors don’t see images, then WebP isn’t for you. Nevertheless, that number might differ for your websites audience. According to caniuse, WebP support is around 95-96% of all users. Browser SupportĪll major browsers have support for WebP images. In my experience, an ever bigger reduction of about 35-40% of original image sizes was seen. WebP is developed by Google and reduces the file size of images significantly. WebP lossless images are 26% smaller in size compared to PNGs.« Using WebP, webmasters and web developers can create smaller, richer images that make the web faster. What is WebP?Īs Google explains here, »WebP is a modern image format that provides superior lossless and lossy compression for images on the web. The approach discussed here is way more minimalistic: instead of relying on a Plugin, we simply switch to uploading WebP images and convert all previously uploaded images in a single run of a small script. As a side note, the installation of the WebP Express Plugin on Nginx is a bit tricky and requires additional server configuration. But, since WordPress now handles WebP on its own, you definitely avoid to install an additional Plugin for this purpose. Basically this plugin allows you to continue uploading png and jpeg, and automagically converts the files into WebP. What that means is, that editors can now use and upload WebP images in WordPress and that these images will be handled just as WordPress does with jpeg/png.Īlthough there’s no good reason to keep using an older version than WordPress 5.8 by now, there is a Plugin called WebP Express, which implements WebP support and allows falling back to png/jpeg for visitors with an outdated browser. In July of 2021 Automatic released version 5.8 of WordPress which comes with native WebP Support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |