2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

image

i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 20 Versions
  • 19 % Grown

The README.md

Silverstripe Image Gallery

Adds an image gallery to your silverstripe website., (*1)

Author

This module was created by i-lateral., (*2)

Although this module can be extended with your own templates / JavaScript, the default makes use of:, (*3)

The CoffeeScriper and his JavaScript adgallery., (*4)

Installation

Install this module either by downloading and adding to:, (*5)

[silverstripe-root]/gallery, (*6)

Then run: http://yoursiteurl.com/dev/build/, (*7)

Or alternativly add to your projects composer.json, (*8)

Usage

Once installed, you can add a gallery to your site by creating a "gallery page" from within the CMS., (*9)

Under the gallery tab, you can then upload as many images as needed., (*10)

Changing the width and height of images

If you wish to change the width and height of the gallery images loaded, you can do this using the Gallery Config object (in you _config, or controller)., (*11)

Gallery config has a static method called setDimensions() to do this., (*12)

For example, if you wanted to set your gallery to be 900px wide by 300px high, in your _config.php file use:, (*13)

GalleryConfig::setDimensions(900,300);

You can also use standard SS config to set GalleryConfig's statics, eg:, (*14)

GalleryConfig::config()->width = 900;

Available configuration options

These are the config options that can be set through GalleryConfig, (*15)

width (default: 800): Width in PX of gallery images height (default: 400): Height in PX of gallery images background (default: ffffff): If we use a padded image, set the background colour thumb_width (default: 150): Width in PX of thumbnail images thumb_height (default: 100): Height in PX of thumbnail images resize_type (default: crop): Type of resize to use on images, this can be:, (*16)

  • crop: Crop image to exact size
  • pad: Pad image to size and add whitespace
  • ratio: Perform a ratio resize of images

By default, the galllery plugin uses jQuery Ad Gallery To set itself up, it calls the ss_galleries jquery plugin (gallery/javascript/ss_galleries.js)., (*17)

If you want to switch out this behaviour, you can remove the default ss_galleries file and replace it with your own (in your controller or template)., (*18)

The Versions

30/04 2018

2.x-dev

2.9999999.9999999.9999999-dev http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

30/04 2018

2.1.4

2.1.4.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

04/04 2018

2.1.3

2.1.3.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

28/03 2018

2.1.2

2.1.2.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

15/03 2018

1.x-dev

1.9999999.9999999.9999999-dev http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

02/03 2018

2.1.1

2.1.1.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

02/03 2018

1.3.2

1.3.2.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

02/03 2018

2.1.0

2.1.0.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

02/03 2018

1.3.1

1.3.1.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

02/03 2018

1.3.0

1.3.0.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

02/03 2018

2.0.2

2.0.2.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

02/03 2018

1.2.2

1.2.2.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

01/03 2018

2.0.1

2.0.1.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

01/03 2018

2.0.0

2.0.0.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and automatic generation of thumbnail gallery with popups

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe thumbnails modal lightbox

28/02 2018

1.2.1

1.2.1.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

28/02 2018

1.2.0

1.2.0.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

27/02 2018

dev-master

9999999-dev http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

11/05 2016

1.1

1.1.0.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

10/12 2014

1.0

1.0.0.0 http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload and defaults to using coffeescriper ad gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery silverstripe

24/03 2014

dev-SS-3.0.x

dev-SS-3.0.x http://github.com/i-lateral/silverstripe-gallery

A Silverstripe image gallery allowing multi image upload, re-ordering and generation of a flexslider based image gallery

  Sources   Download

BSD-3-Clause

The Requires

 

gallery image silverstripe flexslider