gumlet/module-image
最新稳定版本:1.0.6
Composer 安装命令:
composer require gumlet/module-image
包简介
Magento 2 module to optimize image delivery for Product and Store Images using Gumlet CDN.
README 文档
README
Automatically optimize images in Magento using Gumlet CDN.
Features
- Seamless integration with Gumlet CDN for optimized image delivery
- Works with product images, CMS, email, and widget images
- Uses theme configuration for width detection
Installation
Composer (Recommended)
composer require gumlet/magento-image-optimization
After Composer Install
Enable and activate the module in your Magento installation:
bin/magento module:enable Gumlet_Image
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
Manual
- Copy the
Imagefolder toapp/code/Gumlet/in your Magento installation. - Run:
bin/magento setup:upgrade bin/magento cache:flush
Usage
No manual configuration required. All product and media images will automatically be optimized using Gumlet CDN.
Configuration
- Width is determined from the theme's
view.xmlor block context. - No admin configuration required.
Compatibility
- Magento 2.3 and above
Changing Secure Base URL for Media to Gumlet
To deliver all Magento media assets (images, etc.) via Gumlet, update your secure base media URL:
- Login to Magento Admin
- Go to Stores > Configuration > General > Web
- Expand the Base URLs (Secure) section
- Find Base URL for User Media Files
- Change the value from:
to your Gumlet media URL, e.g.:{{secure_base_url}}media/https://your-gumlet-domain.gumlet.io/media/ - Click Save Config
- Flush cache:
bin/magento cache:flush
Note:
- This will route all media requests through Gumlet. Make sure your Gumlet origin is set to your Magento media directory.
- If you want to revert, simply change the value back to
{{secure_base_url}}media/.
Support
For issues, please open an issue on the repository or contact Gumlet support.
License
MIT
gumlet/module-image 适用场景与选型建议
gumlet/module-image 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 07 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 gumlet/module-image 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 gumlet/module-image 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-22