2017 © Pedro Peláez
 

silverstripe-module silverstripe-simplegallery

image

taitava/silverstripe-simplegallery

  • Saturday, July 29, 2017
  • by taitava
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

silverstripe-simplegallery

Uses lightbox 2 to create a simple image gallery in SilverStripe., (*1)

Sorry, a better readme is still under construction., (*2)

This is compatible with SilverStripe 4. If you need to use this with SilverStripe 3, check release line 2.x for older versions., (*3)

Configuration options

These are the default values:, (*4)

Taitava\SimpleGallery\GalleryPage:
  use_bootstrap: true
  use_flexbox: true #Better center images vertically and horizontally. Newest browsers support this in 2016.
  require_bootstrap: false #Set to true if your theme does not include bootstrap already and if you want the module to inject boostrap classes to the GalleryPage. Has no effect if use_boostrap is false.
  allow_image_groups: false #If true, GalleryPages can be divided to multiple sections containing their own sets of images
  allow_direct_images: false #If true, in addition to putting images to groups, they can be directly linked to GalleryPage. If allow_image_groups is false, then this option is always true!

Taitava\SimpleGallery\GalleryImage:
  thumbnail_width: *your-custom-value in px*
  thumbnail_cols:
    xs: *your custom value from 1 to 12*
    sm: *your custom value from 1 to 12*
    md: *your custom value from 1 to 12*
    lg: *your custom value from 1 to 12*
    xl: *your custom value from 1 to 12*
  thumbnail_height: *your-custom-value in px*

The Versions

29/07 2017
24/11 2016

2.x-dev

2.9999999.9999999.9999999-dev

  Sources   Download

MIT

The Requires

 

gallery image

09/10 2016

1.x-dev

1.9999999.9999999.9999999-dev

  Sources   Download

MIT

The Requires

 

gallery image