Smart Image Optimizer Adds WebP and AVIF Conversion for Drupal

New Uploads and Existing Media Under One Workflow
Promotional Drupal graphic with a portrait labeled Nishant Kumar. Text reads "DISCOVER DRUPAL". "Another Route to WebP and AVIF in Drupal". "Conversion Covers New Uploads and Images Already Managed by Drupal". "Nishant Kumar". "Follow us on". "https://www.thedroptimes.com/". "THE DROP TIMES".

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.

Disclosure: This content is produced with the assistance of AI.

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related People

Upcoming Events

Latest Opportunities