Smart Image Optimizer Adds WebP and AVIF Conversion for Drupal
Drupal sites now have another contributed option for converting JPEG and PNG images to WebP or AVIF. Drupal contributor Nishant Kumar introduced the Smart Image Optimizer module for Drupal 10 and 11, with support for processing images during upload as well as converting files already managed by a site. The project was created on Drupal.org on 11 May 2026 and currently has a 1.0.1 release.
Smart Image Optimizer allows administrators to select WebP or AVIF output, configure image quality, and choose whether original files should be retained or removed after conversion. Existing JPEG and PNG files can be processed through Drupal's Batch API, while the module also handles image-style derivatives following conversion. Version 1.0.1, released on 3 September 2026, fixes a configuration-form constructor incompatibility affecting Drupal 10.2+ and Drupal 11.
The project supports Drupal 10 and 11 and requires PHP 8.1 or later, with WebP and AVIF conversion depending on appropriate GD or ImageMagick support on the server. Smart Image Optimizer is not currently covered by Drupal's security advisory policy, which site owners should take into account when evaluating it for production use. Installation details, requirements, and release information are available on the Drupal.org project page.
