WebP for Joomla

WebP for Joomla

  • Smaller images
  • Less bandwidth
  • Faster websites

WebP is an image format - developed by Google - aimed to reduce the size of images dramatically. While still in development, WebP images already allow you to reduce the size of JPG or PNG images. Use it in Joomla and you can save tons of bandwidth.

Cost Free
Current version 1.1.4 (Stable)
Requirements Joomla 3.0 - Joomla 3.4
PHP 5.4 or higher
WebP binary or PHP GD Webp support
PHP 5.4.0 or higher
Download Login to access this download
Support Support Forum
License GNU/GPL (General Public License)

Getting started

  • Get WebP running in your hosting environment
  • Install the plugin in the Extension Manager
  • Enable the plugin in the Plugin Manager


  • Serve WebP images to WebP enabled browsers
  • Automatically convert any PNG or JPG into WebP
  • Make your website faster than ever


This extension integrates WebP into Joomla, and adds WebP images to the page if the browser supports it. Browser support for WebP is detected based on a simple user-agent check (so that Chrome browsers are matched right away) and an additional JavaScript detection (so that other WebP browsers are matched as well). If WebP is detected, the extension will parse the HTML output to make sure links to supported images (png, jpg, jpeg) are actually replaced with WebP images.

Note that you will need to install the WebP binaries on the webserver. If you don't have root access or shell-access, you probably need to ask your system administrator to install WebP for you. If you need our help with this, drop us a mail.


You can see a demo of the WebP extension for Joomla by visiting the Yireo demo site http://joomla1.yireo-demo.com/ with a WebP-enabled browser. Currently the Chrome browser supports WebP out of the box, while for Firefox there is a WebP plugin available.


To get WebP running in your own environment, you will one of the following solutions:

  1. Install the cwebp binary
  2. Get PHP support for WebP

Option 1) Install the cwebp binary

Google has release binary packages with conversion tools for WebP. This includes the command-line tool cwebp. If you have root access to your servers, you can install this tool yourself - for instance in your /usr/local/bin folder so that the path becomes /usr/local/bin/cwebp. Some Linux distributions already support installation of these tools - for instance, CentOS allows for the following installation command:

yum install libwebp-tools

If you don't have root access, you can also try to copy the cwebp binary to a location within your own hosting account - for instance /home/you/bin/cwebp. We recommend you to not copy the binary to the Joomla site, which could open up for unwanted security issues.

The path to the cwebp binary needs to be configured within the plugin settings, for the plugin to pick up on this.

Option 2) Get PHP support for WebP

PHP 5.5.0 and later ship with GD support for WebP. Our Joomla plugin supports this out of the box, but you will need to make sure your PHP environment is at least of version 5.5.0 and it has GD support enabled. Once GD is enabled, the imagewebp() function will exist and our plugin will make use of this to convert PNG and JPG images to WebP.

Plugin options

The plugin offers you three options:

  • cwebp binary path: This is only needed for option 1 as explained above.
  • Exclude images: If a certain type of images is badly converted to WebP, or unusable with WebP because of some JavaScript widget that checks for the image type (for example, a slideshow), then you can exclude those images here.
  • Checks: This is not an option but a box with checks to help you with determining whether option 1 or option 2 is working for you.

Programming Joomla Plugins book

Take control of your Joomla plugins

When building Joomla sites, you can fix small issues with plugins. If a plugin does not fit your needs, instead of searching for another plugin, why not fix things yourself? This is what open source is about.

With our Programming Joomla Plugins book, you get insight into plugins & events. You learn how plugin code works, so that you can insert your own tricks. Coding is fun. And this book shows it is not that hard to get started!

Get your book now

Related services

Performance Tuning

Performance Tuning

Everybody wants a fast site. But this requires lots of technical knowledge. Why not hire the experts, so you can focus on webdesign instead?

More extensions



Make your Joomla site fly with less HTTP requests
Static Content

Static Content

Add your own static server or implement a CDN


Enhance the PHP logic of your Joomla template