Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

ImageAPI Optimize WebP

4,639 sites Security covered Drupal 10–11
View on drupal.org

This module adds support for creating WebP image versions when using the ImageAPI Optimize module. It allows you to automatically generate WebP derivatives of your styled images, which can improve performance.

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.

Example Image Render Cycle:

  1. 'Banner' image style is applied to image1.jpg
  2. ImageAPI Optimize takes the stylized image and runs it through the defined pipeline
  3. ImageAPI Optimize WebP creates a .webp version of the stylized image.
  4. Additional optimization occurs on the source stylized image.
  5. Both the source stylized image(image1.jpg) and webp derivative(image1.webp) are copied to the styles folder.

Currently, a submodule is being created to include the .webp derivative with Drupal core's Responsive Image module. Progress can be followed along here: #3061598: Create submodule for responsive_image support.. Without the submodule, this module will provided limited functionality without customization in your theme.

Recommendations:

  • You should place the WebP processor before any other compression processors to avoid duplicate compression of an image. This can have an inverse affect and provide a lower quality image at a larger file size.
  • You are encouraged to set your sitewide GD toolkit quality to 100, and allow ImageAPI Optimize to handle compression/optimization. This is again to avoid duplicate compression of images. We've created another module: ImageAPI Optimize GD to allow for standard image quality reductions in your pipelines, however checkout ImageAPI Optimize for a full list of processors.

Note:

There is some overlap with this module and the WebP module. The difference being this module is intended to only support projects using ImageAPI Optimize. Because of the overlap between these modules(and the need to override the same route), both modules cannot work in tandem for the time being.

Depends on

Dependencies of the latest stable release

Required by

1 tracked project depends on this one

Activity

Tracked releases
6
Tracked since
Jan 2025
Latest release
2 months ago
Releases (12 mo)
1 ▼ from 5
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.0-beta1 Pre-release 10–11 Jun 24, 2026
3.0.0-alpha2 Pre-release 10–11 Feb 24, 2025
3.x-dev Dev 10–11 Jan 2, 2025
3.0.0-alpha1 Pre-release 10–11 Jan 2, 2025
2.1.0 Stable 10–11 Jan 2, 2025
2.0.1 Stable 10 Jan 2, 2025