Skip to content
Snippets Groups Projects

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

This module provides a WebP processor for the ImageAPI Optimize module. When added to a pipeline, a .webp derivative is created from the source image, providing 2 versions of a styled image.

REQUIREMENTS

This module requires the following modules:

INSTALLATION

CONFIGURATION

  • Configure a new Image Optimize Pipeline

    • First, you will need to Configure a new Image Optimize Pipeline. To do this navigate to Configuration >> Media >> Image Optimize pipelines. Fill out Image optimize pipeline name. There is a dropdown list that reads Select a new processor, choose WebP Deriver then click Add. On the next screen fill in the Image quality this represents a percentage. Click Add processor.
  • Set a Sitewide default pipeline

    • You can set a Sitewide default pipeline that will load in automatically on all Image Styles using the Sitewide default pipeline. Navigate to Configuration >> Media >> Image Optimize pipelines. Select the preferred Pipeline. Click Save configuration.
  • Set an individual Image style's Image Optimize Pipeline

    • Now when you travel to Configuration > Media > Image and edit your preferred Image style. At the bottom of the form you can select your preferred Image Optimize Pipeline or the Sitewide default pipeline.

MAINTAINERS

This project has been sponsored by: