Download the PHP package purplespider/silverstripe-basic-gallery-extension without Composer
On this page you can find all versions of the php package purplespider/silverstripe-basic-gallery-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download purplespider/silverstripe-basic-gallery-extension
More information about purplespider/silverstripe-basic-gallery-extension
Files in purplespider/silverstripe-basic-gallery-extension
Package silverstripe-basic-gallery-extension
Short Description Silverstripe CMS Image Gallery Extension
License BSD-3-Clause
Homepage https://github.com/purplespider/silverstripe-basic-gallery-extension
Informations about the package silverstripe-basic-gallery-extension
Basic Image Gallery Extension for Silverstripe
Introduction
Add this extension to any page type, to get the following batch image upload interface in the CMS:
It allows images to be bulk uploaded, drag and drop reordering and inline caption adding.
Or use the following modules:
- Basic Image Gallery Page - Uses this extension to provide Image Gallery Page and Image Gallery Holder page types.
- Basic Image Gallery Elemental Block - Uses this extension to provide an Image Gallery Elemental block.
Maintainer Contact
- James Cocker ([email protected])
Requirements
- Silverstripe 5
Installation Instructions
Install: Until this PR is merged: Add to composer.json:
Add to require
:
Then install this module:
v3 Upgrade Notes
Upgrading to v3 will break existing galleries due to a change to a polymorphic relation, to fix:
- Run
dev/build
- Run
/dev/tasks/upgrade-basic-galleries
script.
Config
The Extension can be applied to any page type to enable the gallery functionality.
You can also customise the CMS tab that the gallery appears on, as well as the title of the gallery displayed in the CMS, and rename the main Content tab:
Automatically Delete Image Files
To automatically delete image files when an image is deleted from a gallery:
This uses Delete Asset If Unused Extension to detect if the image is being used elsewhere on the site, and will only delete it if it isn't. There are caveats though, so check this module's readme, i.e. you might not want to use this on sites that have been upgraded from Silverstripe 3.
All versions of silverstripe-basic-gallery-extension with dependencies
silverstripe/cms Version ^5
colymba/gridfield-bulk-editing-tools Version ^4
symbiote/silverstripe-gridfieldextensions Version ^4
silverstripe/lumberjack Version ^3
purplespider/silverstripe-asset-delete-if-unused-extension Version 1.*