musicodev/module-web-images
Composer 安装命令:
composer require musicodev/module-web-images
包简介
Upload SVG, AVIF and WebP images in Magento 2
README 文档
README
📝 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.
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
- Next-Gen Format Support: Seamlessly upload
WebPandAVIFimages 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
- PHP: >= 8.2
- Magento: >= 2.4.5
- Extension:
gd(The server's GD extension must be compiled with WebP and AVIF support for full functionality).
🖥️ Installation
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
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
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
🛠️ Support
If you encounter any problems or bugs, please open an issue on GitHub.
musicodev/module-web-images 适用场景与选型建议
musicodev/module-web-images 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 12 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 musicodev/module-web-images 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 musicodev/module-web-images 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2025-12-24