WebP Uploads

Description

This plugin adds WebP support for media uploads within the WordPress application. WebP images will be generated only for new uploads, pre-existing imagery will not be converted to WebP format. By default, WebP images will only be generated for JPEG uploads, only the original uploaded file will still exist as a JPEG image. All generated image sizes will exist as WebP only. If you wish to change this behaviour, there is a checkbox in Settings > Media that – when checked – will alter the behaviour of this plugin to generate both JPEG and WebP images for every sub-size (noting again that this will only affect newly uploaded images, i.e. after making said change).

Installation

Installation from within WordPress

  1. Visit Plugins > Add New.
  2. Search for WebP Uploads.
  3. Install and activate the WebP Uploads plugin.

Manual installation

  1. Upload the entire webp-uploads folder to the /wp-content/plugins/ directory.
  2. Visit Plugins.
  3. Activate the WebP Uploads plugin.

FAQ

Where can I submit my plugin feedback?

Feedback is encouraged and much appreciated, especially since this plugin may contain future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the WordPress Performance Team’s GitHub repository. If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum.

Where can I report security bugs?

The Performance team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.

To report a security issue, please visit the WordPress HackerOne program.

How can I contribute to the plugin?

Contributions are always welcome! Learn more about how to get involved in the Core Performance Team Handbook.

I’ve activated the WebP Uploads module, but WebP images are not always generated when I upload a JPEG image. Why?

There are two primary reasons that a WebP image may not be generated:

  1. The WebP Uploads plugin has identified that the WebP version of the uploaded JPEG image would have a larger file size than the original JPEG image, so it does not generate the WebP version.
  2. The JPEG image was not uploaded to the Media Library. At this time, WebP versions are only generated for images to the Media Library. WebP versions are not generated for JPEG images that are added to your site in other ways, such as in a template file or the Customizer.

With the WebP Uploads plugin activated, will the plugin generate JPEG and WebP versions of every image that I upload?

By default, the WebP Uploads plugin will only generate WebP versions of the images that you upload. If you wish to have both WebP and JPEG versions generated, you can navigate to Settings > Media and enable the Generate JPEG files in addition to WebP option.

Reviews

February 5, 2024 1 reply
I've had a hard time with an issue making it impossible for my users to upload their profile avatar (using Peepso plugin). Trying to debug the Ajax call, I've observed an error 500 message, making the whole website unresponsive when being called upon avatar confirmation. After proceeding by elimination, I finally located the issue to this new extension I had installed some time ago. Next time I'll be more prudent...
January 20, 2024 5 replies
The plugin does exactly what it says; Adds support for WebP images and automatically converts the pictures you upload to that specific format. However, not having the option to convert existing images is a big feature missing from the plugin for me. I don't know what you have in your future plans, but what would you recommend for converting old images to WebP and deleting their original format to save disk space? I'm currently using WebP Express, but I wonder if you recommend something else?
January 18, 2024 2 replies
Had to go back to the original performance plugin and all works fine.
August 17, 2023 1 reply
It works great! Please check the keyword it does not appear in the search result, please optimize it with the plugin title: WebP Uploads
July 29, 2023 3 replies
Thank you for this plugin !!! WebP Uploads currently works better than the most popular image conversion plugins in the market. It's something simple, but it simplify life. It automatically convert every image you upload to webp. Here is what I noticed on the other plugins in the market (not really doing what I was looking for) : You upload .jpg image to your blog post => It's still a .jpg image unconverted You need to go to the plugin to convert manually new uploads
Read all 5 reviews

Contributors & Developers

“WebP Uploads” is open source software. The following people have contributed to this plugin.

Contributors

“WebP Uploads” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “WebP Uploads” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.5

  • Exclude “.wordpress-org” directory when deploying standalone plugins. (866)

1.0.4

  • Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3. (851)

1.0.3

  • Add standalone plugin assets. (815)

1.0.2

  • Fix WebP handling when editing images based on WordPress 6.3 change. (796)

1.0.1

  • Bump tested up to version to 6.3. (772)

1.0.0

  • Initial release of the WebP Uploads plugin as a standalone plugin. (664)