amadeco/module-gallery-extras
Composer 安装命令:
composer require amadeco/module-gallery-extras
包简介
Extends the Fotorama Product Gallery with additional parameters. This module is developed following Adobe Commerce coding standards.
README 文档
README
Overview
The Amadeco GalleryExtras module enriches your Magento store by extending the native Fotorama Product Gallery. Born from the desire to overcome Magento’s limitations, this module breathes new life into your gallery by adding custom parameters that allow you to control the stage container dimensions with finesse and precision.
Features
- Enhanced Gallery Options: Seamlessly inject extra parameters into Fotorama options:
- minwidth: Sets the minimum width of the stage container in pixels or percentages.
- maxwidth: Sets the maximum width of the stage container in pixels or percentages.
- minheight: Sets the minimum height of the stage container in pixels or percentages.
- maxheight: Sets the maximum height of the stage container in pixels or percentages.
- Precision & Flexibility: Fine-tune your product gallery’s presentation beyond the native Magento limitations.
- Smooth Integration: Automatically extends Magento's GalleryOptions without disrupting your theme's design.
Installation
Composer Installation
Execute the following commands in your Magento root directory:
composer require amadeco/module-gallery-extras bin/magento module:enable Amadeco_GalleryExtras bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy
Manual Installation
- Create directory
app/code/Amadeco/GalleryExtrasin your Magento installation - Clone or download this repository into that directory
- Enable the module and update the database:
bin/magento module:enable Amadeco_GalleryExtras bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy
Usage
Once installed, the GalleryExtras module automatically extends the Fotorama gallery options with the following new parameters (defined in theme etc/view.xml file):
- minwidth: Stage container minimum width.
- maxwidth: Stage container maximum width.
- minheight: Stage container minimum height.
- maxheight: Stage container maximum height.
Note: Magento’s default view.xml does not support these options. GalleryExtras elegantly fills this gap by injecting these parameters at runtime, giving you unparalleled control over your product gallery’s layout.
Compatibility
- Magento 2.4.x
- PHP 8.1, 8.2, 8.3
Contributing
Contributions are welcome! Please read our Contributing Guidelines.
Support
For issues or feature requests, please create an issue on our GitHub repository.
License
This module is licensed under the Open Software License ("OSL") v3.0. See the LICENSE.txt file for details.
amadeco/module-gallery-extras 适用场景与选型建议
amadeco/module-gallery-extras 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 amadeco/module-gallery-extras 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 amadeco/module-gallery-extras 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-26