Monday, April 27, 2020
What Is WebP Plus How to Use WebP Images in WordPress
WebP is a web image format developed by Google that can offer smaller image file sizes at a similar level of quality to existing image formats. In this post, well dig further into the question of what is WebP? and share more about the format.We will also talk about the pros and cons of WebP images and how you can start using WebP images on your WordPress site. GIFs are excellent for animations, but not great for saving static images.WebP images are an image format from Google designed to let you display images on the web at a similar quality level to existing image formats, but with a smaller file size.To achieve this, WebP provides both ââ¬Ëlossyââ¬â¢ and ââ¬Ëlosslessââ¬â¢ compression options. The latter preserves more data, while the former makes the resulting file sizes even smaller.According to Googles data, WebP images are on average:25-34% smaller in size than comparable JPEG images.26% smaller in size compared to PNGs.You can view a full side-by-side comparison at the WebP Gallery.The pros and cons of using WebP images on your siteNow that weââ¬â¢ve answered the question of ââ¬Å"what is WebP?â⬠, letââ¬â¢s talk about why it matters by discussing the pros and cons of WebP images.Pros of WebP imagesAs weââ¬â¢ve alluded to already, the primary goal of this image format is to provide a web-focused option thatââ¬â¢s superior to both PNG and JPEG in most situations.Image files take up space ââ¬â no matter how theyââ¬â¢re saved. The more images and other media you add to your site, the greater the chance of laggy performance. Keeping your pages loading fast is incredibly important, since slow speeds drive visitors away before theyââ¬â¢ve even seen what you have to offer.Compressing image files makes them smaller and more efficient, but usually comes at a loss of quality. In general, the more you compress an image, the worse it looks. However, the particular file type youââ¬â¢re using has an impact on how extreme the ef fect is.Images saved in a WebP format can be made significantly smaller than JPEGs and PNGs at the same quality. Again, lossless WebP images function as a replacement for PNGs, and the files are about 26% smaller. Lossy WebP images, on the other hand, are around 25-34% smaller than JPEGs.Also notable is that both types of WebP images support transparency. Transparent images are incredibly useful on the web ââ¬â you can use them for logos and other branding, just as one example. JPEGs donââ¬â¢t offer transparency as a feature, but lossy WebP images do.Cons of WebP imagesIf WebP offers so many benefits, why isnââ¬â¢t it being used by more people? The primary drawback is that WebP images areà not currently supported by all browsers, though more and more browsers have been adding support.Heres a comparison of the current browser support as of July 2019, along with each browsersà desktop and mobile market share when available:Support WebP:Chrome 71% desktop / 59.6% mobileF irefox (desktop only) 9.52%Edge 4.6% desktopOpera 2.44% desktop / 2.85% mobileSamsung Internet 7.35% mobileBaidu BrowserNo WebP Support:Safari 5.41% desktop / 20% mobileInternet Explorer 5% desktopFirefox for Android 1% mobileUC Browser for Android 6.62% mobileSo whileà most web browsers do now offer WebP support, there are still a non-trivial number that dont have support (most notably, Safari).Fortunately,à youââ¬â¢re not losing anything by using WebP on your site, since you can simply include backup PNG and/or JPEG images that display to visitors with browsers that dont support WebP images. This requires a bit more work, but can be worth it for the performance savings.How to use WebP images on your WordPress siteOf course, as a WordPress user, itââ¬â¢s not enough to ask ââ¬Å"what is WebP?â⬠You also need to know whether this type of image can be used alongside WordPress. Just like browsers, not every website builder and Content Management System (CMS) sup ports the WebP format.The bad news is that WordPress doesnt currently support WebP images by default. However, you can still use the WebP format on your site ââ¬â it will just require one or more additional tools.OptimoleOptimole is our new image optimization solution that has a lot of cool featured under the hood. Apart from being able to have all your images optimized automatically and then get them served through a CDN, you also get to experience the benefits of WebP images.The way Optimole enables WebP images is pretty neat. The plugin converts your images to WebP automatically if the visitors browser supports them. If the browser doesnt support WebP, a normal version of the image will be served. Image optimization Lazy Load by Optimole Author(s): OptimoleCurrent Version: 2.1.2Last Updated: September 25, 2019optimole-wp.zip 96%Ratings 211,971Downloads WP 4.7+Requires There are also alternative tools that enable WebP images if youd like to experiment more with whats out there.Jetpack has an image CDN module that works with WebP images.You can also enable WebP by combining ShortPixel / EWWW Image Optimizer with Cache Enabler. Both of these image optimization plugins let you convert your JPEGs and PNGs into WebP images. Then, you can use theà Cache Enabler plugin to actually serve those files up to visitors with browsers that support WebP. Once you install Cache Enabler, go to Settings ââ â Cache Enabler in your dashboard, and select Create an additional cached version for WebP Image support.Any of these methods will get the job done, so youââ¬â¢re free to use the plugins you prefer. The performance boost to your website can be significant, so itââ¬â¢s worth setting up one of these solutions if you have an image-heavy site.ConclusionWhat is WebP? Itââ¬â¢s an image file type that has the potential to speed up your website, even more so than by using compressed PNGs or JPEGs. WebP comes in both lossy and lossless varieties and produc es smaller file sizes at a comparable quality.Though its popularity is growing, WebP isnââ¬â¢t yet supported on all browsers. However, it can still be worth using this image format on your site, especially if you upload a lot of images. As a WordPress user, you have several options for setting upà WebP support ââ¬â one of the best being Optimole.Do you have any questions about the WebP format and how to set it up in WordPress? Ask away in the comments section below! Learn what WebP images are and how to use them to speed up your #WordPress site's images
Subscribe to:
Post Comments (Atom)
The Woman in Black Free Essays
string(65) o As a phantom story its motivation is to engage and to frighten. Part rundowns Arthur Kipps o Introduced in the novel as an ...
-
An examination of the connection between sexuality and suffering - Essay Examplejournal du voleur is the closest genet came to writing a tra...
-
Missing FiguresINTRODUCTIONDespite the fact that divorce is discussed in almost any sociology or anthropology book, no unified explanations ...
-
1. What is the markets perception of the Nivea family brand on each of the following dimensions? Performance- Nivea-primarily through Nivea ...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.