Taitava\SimpleGallery\GalleryImage
Class GalleryImage
This class is just for configuration options. Note that this class defines default values. To change the values in your
project, please do it in mysite/_config/simplegallery.yml by adding these lines:
GalleryImage:
thumbnail_width: *your-custom-value
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
Synopsis
class GalleryImage
{
- // members
- private static integer $thumbnail_width = 150;
- private static array $thumbnail_cols = ;
- private static integer $thumbnail_height = 250;
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $thumbnail_cols
- $thumbnail_height
- $thumbnail_width