README.md 723 Bytes
Newer Older
Bart Vanhoutte's avatar
Bart Vanhoutte committed
1
# WebP
2
3
Creates a WebP copy of image style derivatives to decrease loading times.

Bart Vanhoutte's avatar
Bart Vanhoutte committed
4
## Description
5
6
7
Whenever an image style derivative is created this module will also create 
a WebP copy of the derivative to be served to supporting browsers.

Bart Vanhoutte's avatar
Bart Vanhoutte committed
8
## Requirements
9
10
11
12
This module requires the the following PHP extension:

 * GD - http://php.net/manual/en/book.image.php

Bart Vanhoutte's avatar
Bart Vanhoutte committed
13
## Installation
14
 1. Install the module.
Bart Vanhoutte's avatar
Bart Vanhoutte committed
15
 2. Copy the contents of the .htaccess file in the module root to your 
16
17
18
19
 site-wide .htaccess.*

 \* Images displayed using Drupal core's "Responsive image" formatter
 don't depend on the .htaccess mechanism to serve WebP derivatives.
20

Bart Vanhoutte's avatar
Bart Vanhoutte committed
21
## Maintainers
22
* Bart Vanhoutte (Bart Vanhoutte) - https://www.drupal.org/user/1133754