Skip to content
Snippets Groups Projects
darthsteven's avatar
Issue #2996896 by Steven Jones: Processor failure stops all optimization
Steven Jones authored
2dbadc8a
History

INTRODUCTION

The Image Optimize module provides a framework for image optimization.

It provides a system of 'pipelines' and each pipeline contains 'processors'.

To optimize an image they are passed to a pipeline which orchestrates each processor applying itself to the image.

For example, you may have one pipeline for loss-less optimization that removes unnecessary metadata from images, and a lossy pipeline that applies re-compression via a third party webservice.

Built in support is provided for Drupal image styles, after the usual image style has been applied the derivative image is passed into a configurable pipeline for optimization.

REQUIREMENTS

The module does not have any direct requirements of its own, however, you will need another module that provides a processor for optimizing images.

For example, you may one want of:

INSTALLATION

CONFIGURATION

  • Configure Image Optimize pipelines in Administration » Configuration » Media » Image Optimize pipelines:

    • Either add a new pipeline or edit an existing one.
  • Configure which pipelines are used by image styles in Administration » Configuration » Media » Image styles:

    • You can set a sitewide default

    • Or edit each style individually to assign a pipeline.