WebP for Magento

WebP for Magento

  • Smaller images
  • Less bandwidth
  • Faster webshops

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. Unfortunately, the WebP image-format is at this moment only supported by a small number of browsers.

Cost Free
Current version 1.0.1 (Stable)
Requirements Magento CE 1.7 - 1.9
Magento EE 1.10 - 1.14
PHP 5.4.0 or higher
Download Download
Support Support Forum
License OSL (Open Software License)

Getting started

  • Setup the WebP binaries on your server
  • Install this Magento module (see download page for instructions)

Overview

This extension integrates WebP into Magento, 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 (Chrome browser) and an additional JavaScript detection. If WebP is detected, the extension will parse the HTML-output of the Magento root-block to make sure links to supported images (png, jpg, jpeg) are actually replaced with WebP images.

Getting the WebP support in your server

For using this extension, you will need to install WebP support on your server. Either upgrade PHP to version 5.5 or higher and make sure the ImageMagick module has webp support built into it. Or download the cwebp binary from the Google WebP project and install that binary on your server:

https://developers.google.com/speed/webp/download

Configuring the binary in the System Configuration

If your PHP environment does not list WebP as being supported (a simple phpinfo() will tell you whether this is the case or not), or if you don't whether it is being supported, the binary solution is the right way to go for. Once the binary is installed in your environment and you have verified its workings via SSH, you can configure the path to the binary in the Magento System Configuration under Web > Webp images. The binary path that you will configure usually is something like this:

/usr/local/bin/cwebp

Demo

You can see a demo of the WebP extension for Magento by visiting the Yireo demo-site http://magento1.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.

More extensions

Google reCAPTCHA

Google reCAPTCHA

Detect humans like humans and robots like robots
WebP for Magento

WebP for Magento

Implement WebP into Magento and serve smaller images to WebP-enabled browsers
GoogleTagManager

GoogleTagManager

Google Tag Manager offers a central way to manage all your Google tags.