PHPackages                             musicodev/module-web-images - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. musicodev/module-web-images

ActiveMagento2-module[File &amp; Storage](/categories/file-storage)

musicodev/module-web-images
===========================

Upload SVG, AVIF and WebP images in Magento 2

1.0.0(4mo ago)151OSL-3.0PHPPHP ^8.2

Since Dec 24Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/musicodev/magento2-web-images)[ Packagist](https://packagist.org/packages/musicodev/module-web-images)[ RSS](/packages/musicodev-module-web-images/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Upload SVG, AVIF and WebP images in Magento 2
=============================================

[](#upload-svg-avif-and-webp-images-in-magento-2)

📝 Overview
----------

[](#-overview)

Magento 2 extension that modernizes your store's image capabilities by adding support for next-generation image formats. This module allows administrators to upload and manage **SVG**, **WebP**, and **AVIF** images directly in the product media gallery, formats that are not natively supported by standard Magento installations.

By using these modern formats, you can significantly improve your website's performance and user experience through faster load times and higher visual quality at smaller file sizes.

This project is a fork of [MagestyApps\_WebImages](https://github.com/MagestyApps/module-web-images).

The following improvements/changes have been made:

- Support for PHP 8.4
- Updated GD Adapter with the latest changes
- Support for AVIF format
- Several bugs fixed

✅ Features
----------

[](#-features)

- **Next-Gen Format Support**: Seamlessly upload `WebP` and `AVIF` images to product galleries.
- **SVG Support**: Enable vector graphics (`.svg`) for crisp, scalable product images.
- **Enhanced Image Processing**:
    - Supports resizing, cropping, rotating, and watermarking for WebP and AVIF files.
    - Preserves alpha transparency for WebP and AVIF images.
- **Gallery Integration**: Plugs into the product gallery processor to bypass default restriction checks, allowing these new file types to be uploaded via the admin panel.

⛓️‍💥 Compatibility
------------------

[](#️‍-compatibility)

- **PHP**: &gt;= 8.2
- **Magento**: &gt;= 2.4.5
- **Extension**: `gd` (The server's GD extension must be compiled with WebP and AVIF support for full functionality).

🖥️ Installation
---------------

[](#️-installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

```
composer require musicodev/module-web-images
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush
```

⚙️ Configuration
----------------

[](#️-configuration)

This module works primarily out-of-the-box. There are no extensive configuration settings required in the Admin Panel. Once installed, the allowed file extensions (SVG, WebP, AVIF) are automatically registered with the system.

🤝 Contribution
--------------

[](#-contribution)

Want to contribute to this extension? The quickest way is to [open a pull request](https://help.github.com/articles/about-pull-requests/) on GitHub.

🛠️ Support
----------

[](#️-support)

If you encounter any problems or bugs, please [open an issue](https://github.com/musicodev/magento2-web-images/issues) on GitHub.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance74

Regular maintenance activity

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

144d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eae02c7f2a27a70898c9fb9dc9f6c149d8a71b0f0b5e7e5303bb865df9756751?d=identicon)[musicodev](/maintainers/musicodev)

---

Top Contributors

[![musicodev](https://avatars.githubusercontent.com/u/209839801?v=4)](https://github.com/musicodev "musicodev (1 commits)")

### Embed Badge

![Health badge](/badges/musicodev-module-web-images/health.svg)

```
[![Health](https://phpackages.com/badges/musicodev-module-web-images/health.svg)](https://phpackages.com/packages/musicodev-module-web-images)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[magestyapps/module-web-images

Upload SVG and WebP images in Magento 2

157546.5k1](/packages/magestyapps-module-web-images)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
