This module is also available on github.
It implements a new page type (CarouselPage) that provides everything needed to manage a carousel of images.
You can do bulk uploads and reorder the images by dragging and dropping their thumbnails in a dedicated tab (Image list) inside the CMS. The same image can be shared among multiple carousels. This module adds also some field to the Settings tab. This will allow to customize some aspect of the carousel on a per page basis, such as width and height of the images and a flag to show or hide their captions.
ContentCarousel.ss template renders a self-contained
<div> with a
inside. You can include it in any place inside your pages, e.g.:
CarouselPage.ss layout template is provided. It
renders a full (standard) page, though it works out of the box only with
the silverstrap theme because it
relies on some convention adopted by that theme.
The feature of reordering with drag and drop is provided by the sortablefile module that must be installed before.
To install silverstripe-carousel itself you should proceed as usual:
drop the directory tree in your SilverStripe root and do a
/dev/build/. You will gain the new
CarouselPage type in the CMS.
If you use composer, the dependencies will be pulled-in automatically, so you could just run the following command:
composer require entidi/silverstripe-carousel dev-master