Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). migrate_tools 6.1.4 Minor update available for module migrate_tools (6.1.4). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). colorbox_inline 2.1.1 Minor update available for module colorbox_inline (2.1.1). node_view_permissions 8.x-1.7 Minor update available for module node_view_permissions (8.x-1.7).

Smart Image Optimizer automatically converts uploaded JPEG and PNG images into modern WebP and AVIF formats for reduced storage usage and faster page delivery in Drupal 10 and 11.

Smart Image Optimizer is a lightweight, high-performance solution for Drupal site owners looking to modernize their media library without manual effort. In the modern web, serving traditional JPEG and PNG files can slow down your site and hurt your SEO rankings. This module provides an automated bridge to modern formats, ensuring your site is fast, lean, and user-friendly.

What solution does this module provide?

It eliminates the "heavy image" problem. By automatically converting every image upload into WebP or AVIF (next-generation formats), it significantly reduces file sizes while maintaining visual quality. Unlike basic converters, it also handles your existing library, allowing you to optimize thousands of old images with a single click.

  • Real-time Optimization: Automatically converts images during the upload process (via Drupal hooks).
  • Next-Gen Format Support: Full support for WebP and AVIF (the most advanced compression currently available).
  • Bulk Conversion Tool: A built-in Batch API process to scan your entire site for old JPEGs/PNGs and convert them all at once.
  • Automatic Cache Management: Automatically flushes Image Style derivatives after conversion so your thumbnails never break.
  • Modern Architecture: Built specifically for Drupal 10 and 11 using Dependency Injection, making it stable, testable, and developer-friendly.
  • Flexible Cleanup: Option to keep original files or delete them permanently to save disk space.
  • Enable the module: Check the "Enable" box to start optimizing new uploads.
  • Choose your format: Select between WebP (standard) or AVIF (maximum compression).
  • Adjust Quality: Set your preferred compression level (Default is 80).
  • Bulk Optimize: If you have an existing site, open the "Bulk Operations" tab and run the converter to process all legacy images currently in your database.
  • PHP 8.1+ (PHP 8.1 is required for AVIF support).
  • GD Library or ImageMagick: Your web server must have the PHP GD extension compiled with WebP/AVIF support (standard on most modern hosting environments).
  • Drupal Core: 10.x or 11.x.
  • ImageMagick: While the default GD library works great, ImageMagick provides even higher quality compression for AVIF.
  • WebP: While the WebP module is popular, Smart Image Optimizer differentiates itself by offering AVIF support out of the box and a much simpler, more modern codebase leveraging Dependency Injection for better compatibility with Drupal 11.
  • ImageAPI Optimize: A powerful toolkit for optimization, but it can be complex to configure. This module is designed for users who want a "plug-and-play" experience specifically for format conversion.

Activity

Total releases
1
First release
May 2026
Latest release
2 days ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable May 11, 2026