• Best Multilingual Plugin
  • Compatible With Your Favorite Themes
  • Automatic and Human Translation
  • Translation, Multilingual, SEO

WebP WASM

by wrburnham

0 Ratings

Active Installations

10+

Last Update

4 years

Quality

D

Plugin Description

Description
Convert jpeg and png images to their webp equivalents by leveraging google’s libwebp and web assembly and serve webp images directly when supported in posts and pages.
Quick start
Sign into the backoffice as an admin user.
Install the plugin and activate it.
Convert a single media library image
Navigate to Media > Library
Select the list view icon
Locate a jpeg or png image for editing and click the media’s title link or the “edit” link under the entry.
Scroll down to the bottom of the edit page to the (new) WebP Conversion section
Click Create to create a webp version of this media library image on the server
Click Delete to delete a webp version if it exists for this media library image
Convert all media library images
Navigate to Plugins
Set the quality and overwrite flag as desired
Click Create to create webp files for all media library images
Click Delete to delete existing webp files for all media library images
How it works
The client (browser) creates a webp version of the image when the Create button is clicked. This is then sent to the server where it is saved in the same folder as the original image, but with a
.webp
extension.
For example, if the original image is
/wp-content/uploads/2020/05/test.jpg
an additional
/wp-content/uploads/2020/05/test.webp
will be created there.
A filter is applied in the WordPress hook
the_content
to swap an image for its webp equivalent if available.
More about the conversion
Conversion is done on the client, so a modern browser with wasm support is needed. This is because conversion to webp with php requires shell_exec to make calls to Google’s cwebp or other php extensions are needed. These features often pose security risks that outweigh the benefits. This plugin gets around that by delegating the actual image conversion to the client. It’s based on this encoder to save webp versions of uploaded jpeg and png images.
License
This plugin is licensed as GPLv3.
Notes
The simple html dom parser library is used to render webp images directly in WordPress content where possible. The client-side conversion to WebP leverages Google’s libwebp.

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Regular Price

Free download

Key Features

  • You will be redirected to the retailer

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached