Image Optimize module is a utility that provides a way for site builders to define pipelines that will process images to reduce their file-size while hopefully still maintaining image quality.

This helps you to get better Google PageSpeed scores, because you'll be sending fewer bytes over the wire to your users.

Pipelines can be applied to images in different ways, and can be configured to do different things to different images.

We provide built-in support for core Image styles and a service allowing use in third party modules. With a few clicks you can optimize all the images on your site being rendered via Drupal's image styles.

There are extension modules that provide processors that operate on a images. To reduce their filesize. Some of the processors send your images to a third-party optimization service, some do the processing locally for privacy and/or cost reasons.

At least one or more processor module needs to be installed for the optimization pipeline to do any meaningful work:

The 'official' processor modules are:

All modules providing processors can be viewed here: https://www.drupal.org/project/imageapi_optimize/ecosystem

Open issues | All issues from all 'official' subprojects

Supporting organizations:
Module development and maintenance

Project information

Releases

4.2.0 Stable release covered by the Drupal Security Team released 24 April 2026
Works with Drupal: ^9 || ^10 || ^11
Install:

Development version: 4.x-dev updated 24 Apr 2026 at 06:08 UTC

4.1.1 Stable release covered by the Drupal Security Team released 10 October 2025
Works with Drupal: ^9 || ^10 || ^11

Stable Drupal 11 compatible release

Install:

Development version: 4.x-dev updated 24 Apr 2026 at 06:08 UTC

4.0.1 Stable release covered by the Drupal Security Team released 22 December 2022
Works with Drupal: ^9 || ^10
Install:

Development version: 4.x-dev updated 24 Apr 2026 at 06:08 UTC