dynamic/silverstripe-elemental-gallery
Composer 安装命令:
composer require dynamic/silverstripe-elemental-gallery
包简介
A block to display a collection of images
README 文档
README
Requirements
- PHP: ^8.3
- silverstripe/recipe-plugin: ^2
- silverstripe/vendor-plugin: ^2
- dnadesign/silverstripe-elemental: ^6
- dynamic/silverstripe-elemental-baseobject: ^6
Suggested Modules
- colymba/gridfield-bulk-editing-tools (^3): Provides bulk upload support
Installation
composer require dynamic/silverstripe-elemental-gallery
License
See License
Example usage
Photo Gallery Element block allows you to display a collection of images. Click on the image thumbnail to open a larger version in Lightbox.
Features
- Display a collection of images in a responsive gallery layout
- Bulk image upload support via Colymba's GridField Bulk Manager
- Automatic cascade deletion (images are removed when gallery is deleted)
- Automatic cascade duplication (images are copied when gallery is duplicated)
- Optional HTML content field for gallery description
- Lightbox integration for image viewing
Screen Shots
Front End sample of a Gallery Element
Front End sample of a Gallery Element - Lightbox
CMS - Gallery Main Tab
CMS - Gallery - Add/Edit Gallery Image
Configuration
Bulk Image Upload
This module supports bulk image uploads through the CMS. To enable this feature, ensure you have installed the recommended package:
composer require colymba/gridfield-bulk-editing-tools
Once installed, you'll see a bulk upload button in the gallery images grid field.
Content Field
The gallery element includes an optional HTML content field that can be used to add a description or introduction text above the gallery.
Getting more elements
See Elemental modules by Dynamic
Additional Configuration
See SilverStripe Elemental Configuration
Maintainers
Bugtracker
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.
dynamic/silverstripe-elemental-gallery 适用场景与选型建议
dynamic/silverstripe-elemental-gallery 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 35.77k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2018 年 05 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「image」 「content」 「silverstripe」 「photo」 「gallery」 「blocks」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dynamic/silverstripe-elemental-gallery 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dynamic/silverstripe-elemental-gallery 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dynamic/silverstripe-elemental-gallery 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A block that displays featured content - large image, title, description and link.
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
Analytics chooser extensions for site settings.
统计信息
- 总下载量: 35.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 23
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-05-08



