amadeco/module-gallery-extras 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

amadeco/module-gallery-extras

最新稳定版本:v1.0.0

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

Latest Stable Version Magento 2 PHP License

SPONSOR: Amadeco

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

  1. Create directory app/code/Amadeco/GalleryExtras in your Magento installation
  2. Clone or download this repository into that directory
  3. 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.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固