A Silverstripe extension to add up to two galleries/carousels etc to any page

Installs: 433

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 2

Open Issues: 0


v2.0.2 2016-12-12 00:42 UTC

This package is auto-updated.

Last update: 2021-10-05 08:26:57 UTC


This plugin simply adds the required dataobjects and makes an extension available to automatically add up to two gallery/carousel etc tabs to any page on your site. This plugin does not do the frontend for you at all as there are so many different options that it's impracticable.

Just loop over $PrimaryGalleryImages or $SecondaryGalleryImages and render the slides out as you wish. $Image refers to the uploaded image $Title refers to the title on the image

Installation Instructions

This module supports installation via composer only,

Run the following to add this module as a requirement and install it via composer.

composer require "webfox/silverstripe-gallery"

Next up add the required config settings, below is an example of adding a carousel to all Page and all subclasses, setting a custom folder for the images to upload to, and setting custom tab titles:

    title: 'Carousel Images'
    folder: 'Carousel-Images'
    title: 'Gallery Images'
    folder: 'Gallery-Images'
    - GalleryExtension

By default both galleries are enabled, but can be disabled by setting enabled to false, which can also be used to disable the gallery on a subclass:

    enabled: false
    enabled: false

then browse to /dev/build?flush=all


  • Silverstripe 3.1+