Skip to content

A simple gallery backend for SilverStripe 3 with advanced directory saving rules

License

Notifications You must be signed in to change notification settings

titledk/silverstripe-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple gallery backend for SilverStripe 3 with advanced directory saving rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages