How to use webp image on WordPress: Everything you need to know

Are you interested in using webp images on WordPress? Or what is a webp image and why they are confused about them?

In this article, we will solve these two problems. If you already know what webp is and desire to start, we will show you how to start and run a step -by -step guide.

If you are still not sure why you should care about the webp image of your WordPress website, we will start with introducing the webp image format, its advantages and comparison with other image formats, and some of the browser support support Important details.

Let’s dig deep!

What is webp?

Webp is a modern image file format developed by Google.

\”Image file format\” means that its function is the same as that of other image formats (such as

png , jpeg , gif , etc.).

If you use images on the WordPress website, you can use these images from JPEG or PNG and other formats. Converted to a webp format.

For human visitors, your webp image looks exactly the same as other format images -their appearance in human eyes is not special.

So -So what are the benefits of using webp images? Okay ..,

What are the benefits of using a webp image?

The main benefits and goals of the webp project are to create a smaller image file

, while maintaining the same image quality.

If you can reduce the file size of the image used on the WordPress website, you can speed up the loading time of the website without changing any part of the website user experience.

In short, this is the benefits of webp images-

smaller images → faster website loading time

.

For example, when Google is inWhen webp images were launched for YouTube’s narrowing map in 2014, the Google team claimed that it could reduce the page loading time by as much as 10%. In the same article, Google also said that they could narrow the image size in the Google Play store by 35%. This is why speed analysis tools such as PageSpeed \u200b\u200bInsights usually recommend that you \”provide images in the following format\”. For the \”next generation format\”, these tools refer to webp ( or similar optimization format

).

How much is your next question that is -how much is it smaller than other image formats such as WEBP and PNG and JPEG?

Okay, the exact difference depends on the specific images and file formats you want to compare …

webp and JPEG

Google compares webp and jpeg images compression compression compression compares Evaluation, I found that webp images smaller than the same JPEG image

25-34%

. In their words, \”These results indicate that webp can provide significant compression improvements than JPEG.\”

] If you want to see some actual images to determine whether the quality has changed, Google has maintained a webp library here, the same image webp and jpeg format. Webp and PNG For PNG images, Google found that the webp version average

is 26%smaller

.

Other studies have found that according to the variables you use (

, for example, the JPEG encoding method you use Web 浏览器对 WebP 图像的支持), the difference will be slightly or larger, but the results are usually very consistent, that is, webp compare with comparable ones. Quality provides smaller file size, which is the reason why it has been growing.

Which web browser supports webp images?

If we write this article a year ago, we will say that a disadvantage of a webp format is that it lacks complete browser support.

Chrome and Firefox have been supporting WebP for a long time, but the only mainly

supporters are Safari. However, Apple finally conceded in September 2020 and added WebP support to Safari 14 and higher versions.

As of June 2021, all mainstream browsers support WebP, but except for the Internet Explorer, Microsoft has been in 2021 in 2021 August it in August. This is based on the great website, I can use:

However, Safari has a little attention to the support of WebP -it is only applicable to the use of use MacOS 11 Big Sur or higher version of Mac users. Therefore, if someone uses the old version of MacOS/Safari, they may still not support WebP.

Overall, CAN I used estimates that as of June 2021, about 95% of visitors use browsers supporting WebP.

  1. But what about 5%?
  2. Fortunately, using the correct WordPress plug -in (
  3. We will introduce this problem in detail below

). It is easy to solve this problem. In essence, you can upload the original image of the JPEG/PNG/GIF format and let the plug -in convert them. The plug -in will then provide the webp version to the browser that support it and provide the original version to the browser that does not support it.

How to use webp images on WordPress

WordPress 5.8 added webp support. This means that you can upload Webp pictures directly on WordPress. However, you cannot convert them. In addition, the webp image can be uploaded directly to the media library and cannot solve about 5% of the browsers that do not support WebP visitors.

    However, this does not mean that you cannot use WebP images on WordPress. Instead, you need:

  • Continue upload images in the original format -such as PNG, JPEG, GIF, etc.

Use WordPress plug -in to convert the image to WebP and provide as much as possible to provide WebP versions.

To complete these things and optimize the image in other ways, you can use Imagify.

IMAGIFY is a complete WordPress image optimization plug -in. In addition to helping you convert images to webp and provide them to support browsers, it can also help you:

Compressed multiple images in the original format. The image size is automatically adjusted to a set of maximum size without reducing quality. When you upload the image, imagified will automatically optimize the image and convert it to Webp

. For older images, you only need to click to optimize and convert parts or all existing images in batches.

How to set it below …

1. Install the imagify plug -in and activate API Key First, install and activate the free Imagify of the free Imagify from wordpress.org Plug -in.

After completion, the plug -in will prompt you to enter the API key. You can get your API key by registering a free Imagify account. IMAGIFY will allow you to optimize and convert 20 MB images for free every month, which is equivalent to about 200 images.

安装 Imagify 并通过您的 API 密钥

If there are less than about 200 pictures you uploaded each month, you will always insist plan. If you need more, you can upgrade to the payment plan, 500 MB (

about 5,000 images

) $ 4.99 or unlimitedly used for $ 9.99 per month.

Through all plans, you can use your API account on Unlimited WordPress website

.

After getting the API key, add it to the box and click

Connect me

:

]

2. Set the basic image optimization settings Add Imagify API key, turn to

Setting → Imagify

to configure the basic settings of the configuration plugin.

At the top, you can choose the required compression level and other settings. If you are not sure which compression level to use, you can try the visual comparison:

At the bottom of the page, you can use a option to adjust the size of the larger image and set the maximum size of the post -adjustment image. For example, if you set the maximum width to 1,600 pixels, any image with more than 1,600 pixels will automatically adjust to 1,600 pixels.

You can also choose to optimize the image shrinkage of the image:

]

3. Set WordPress webp conversion

to enable webp conversion in imagify, please find it at

to find

under . Webp format Settings.

First, select

Create Webp Versions of Images

check box. This will tell Imagify to convert your image to a webp, but it will not tell Imagify to provide these webp images to the supported browsers.

For this reason, you can also select

to display the image in a webp format on the website. Under that, we recommend using use \u0026 lt; picture \u0026 gt; tags

method.

If you use the content delivery network (CDN) to provide images from a separate URL, for example, https://cdn.yoursite.com , you should also enter the URL in the box: [[[[[[[[[[[[[[ 123]

As you see in the screenshot, \u0026 lt; picture \u0026 gt; label method may cause problems with some WordPress themes. If you find that there are any problems with your theme after enabling the webp image, you can try to use the rewriting rules

option.

4. Convert and optimize your image

Now, Imagify will start automatically optimizing and transforming new images you uploaded.

If there are many existing images on your website, you can transfer to

Media → Batch optimization

To optimize all existing images and convert them to webp:

That’s it! Your WordPress website will now start using smaller and faster WebP images for visitors. Immediately began to use webp images on WordPress using a webp image format to allow you to reduce the file size of the WordPress site image without changing the image quality or user experience. By narrating the file size, you can speed up the loading time of the website. As of June 2021, the webp format enjoys the almost common browser support, about 95% of the 95% Visitors use browsers supporting WebP. If you want to start using webp images on WordPress, you can use Imagify. Imagify automatically optimizes the image of your website and converts it with webp. Then, if their browser supports webp, it will also ensure that the visitors see the webp version of the image. To start using it, please install the free Imagify plug -in and register an image account immediately. Do you have any questions about using webp on WordPress? Please leave your opinion on the evaluation part!

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *