titledk / silverstripe-gallery
A simple gallery backend for SilverStripe 3 with advanced directory saving rules
Installs: 83
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 3
Open Issues: 0
Type:silverstripe-module
Requires
- bummzack/sortablefile: *
- titledk/silverstripe-uploaddirrules: dev-legacy
This package is not auto-updated.
Last update: 2024-12-21 17:58:07 UTC
README
A simple gallery backend for SilverStripe 3 with advanced directory saving rules.
Features:
- Bulk upload
- Drag'n'drop sorting
- Gallery directories are auto created based on your settings
- Can be used on pages as well as data objects
- Works with the Translatable module
For a ready-to-use gallery also install the Gallery Pagetypes module.
Requires:
- Upload Dir Rules
- Sortable File
Installation
The GalleryExtension
can be added to any DataObject
.
Add the following to your config.yml
:
Basics:
MyDataObject: extensions: - GalleryExtension #this is for the upload dir rules dependency, which takes care of #the relation between the gallery and it's folder #only needed on DataObjects, as this is added automatically to SiteTree - AssetsFolderExtension