dynamic / silverstripe-elemental-gallery
A block to display a collection of images
Installs: 33 481
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 9
Open Issues: 2
Type:silverstripe-vendormodule
pkg:composer/dynamic/silverstripe-elemental-gallery
Requires (Dev)
Suggests
- colymba/gridfield-bulk-editing-tools: Bulk upload images to a gallery.
- 6.x-dev
- 6.0.0
- 5.x-dev
- 5.0.2
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.0.0
- 4.0.0-beta1
- 4.0.0-alpha1
- 3.x-dev
- 3.0.0-alpha1
- 2.1.x-dev
- 2.1.0
- 2.0.x-dev
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.x-dev
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-ci/phpstan
- dev-master
- dev-feature/update-readme-ss6
- dev-feature/2023-10-26_bootstrap-modal-adjustments
This package is auto-updated.
Last update: 2025-10-21 23:53:40 UTC
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.



