Skip to content
A simple gallery backend for SilverStripe 3 with advanced directory saving rules
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code
docs/img
.editorconfig psr-2 Mar 24, 2016
LICENSE
README.md
_config.php
composer.json

README.md

SilverStripe Gallery

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.

Example

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
You can’t perform that action at this time.