WebP Images extension icon

WebP Images for Magento 2

WebP upload support plus automatic conversion of JPG, PNG and GIF images to cached WebP copies on the storefront.

Catalog & Storefront Magento 2.4.x Open Source & Adobe Commerce Adobe Marketplace approved $49 USD

Why choose WebP Images?

WebP Images adds WebP support to Magento without re-uploading your catalogue. Admins can upload WebP files directly, and existing JPG, PNG and GIF images are converted to cached WebP copies that are served to browsers that support them, with the original as a fallback. Quality and excluded paths are configurable.

WebP Images: Overview (screenshot 1 of 4)WebP Images: Configuration (screenshot 2 of 4)WebP Images: CMS pagebuilder (screenshot 3 of 4)WebP Images: Widgets (screenshot 4 of 4)
1 / 4

Key features

  • Direct WebP Upload
  • Automatic Conversion of Existing Images
  • Transparent Browser Fallback
  • Site-Wide Coverage
  • WYSIWYG and Media Gallery Aware
  • Configurable Quality and Path Exclusions
  • Works With Any Image Adapter
  • Enable or Disable Without Losing Data
  • Zero Core Code Changes

At a glance

Module nameMage2Expert_WebpImages
Composer packagemage2expert/module-webp-images
SettingsStores › Configuration › Magento Expert › WebP Images (3 options)
Per store view settingsYes
APINo custom endpoints (uses Magento's standard APIs)
PHP8.1, 8.2, 8.3, 8.4, 8.5

Installation

After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:

composer require mage2expert/module-webp-images
bin/magento module:enable Mage2Expert_WebpImages
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Skip setup:di:compile and static-content:deploy if your store runs in developer mode.

Configuration reference

All 3 options under Stores › Configuration › Magento Expert › WebP Images, grouped as they appear in the admin.

General Settings 3
SettingDescription
Enable WebP ImagesAllows .webp files to be uploaded for product images, category images, CMS/static block content, Page Builder content, store logo & favicon, and product CSV import. Also converts already-existing JPG/PNG/GIF images to a cached WebP copy the
WebP QualityCompression quality used when converting existing images to WebP, 0-100 (default 80). Higher is better quality and larger file size.
Excluded PathsOne path fragment or wildcard pattern per line, relative to pub/media (e.g. "wysiwyg/no-webp/" or "*/placeholder/*"). Matching images are always left as their original format - never converted or rendered as WebP.

Frequently asked questions

How much does WebP Images cost?
WebP Images costs $49 USD as a one-off purchase on the Adobe Commerce Marketplace.
Which Magento and PHP versions are supported?
Magento Open Source and Adobe Commerce 2.4.x. It is developed and tested on Magento 2.4.8, and supports PHP 8.1, 8.2, 8.3, 8.4, 8.5.
Where do I configure WebP Images?
In the Magento admin under Stores › Configuration › Magento Expert › WebP Images. It has 3 options, grouped into 1 sections.
Can I switch it off without uninstalling it?
Yes. Set "Enable WebP Images" to No under Stores › Configuration › Magento Expert › WebP Images. Your settings and data are kept.
Can the settings differ per store view?
Yes. Many options can be set per website and store view, so multi-store and multi-language setups can behave differently.
Can it be customised for my store?
Yes. As the developer of WebP Images, I can adapt it to your workflow or build related features. Email me with what you need.
Available for new projects

Have a Magento project in mind?

Tell me about your store and what you need. I reply to every enquiry within one business day.

Adobe Certified Expert

Adobe Commerce Developer certification, verified on Credly.

15+ years of Magento

From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.

62 Marketplace extensions

Each one reviewed and approved by Adobe.