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.
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:
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.
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.
The plugin offers you three options: