ilateral\SilverStripe\Gallery\Control\GalleryHubController::ScaledImage
Generate an image based on the provided type (either )
Signature
protected function ScaledImage(Image
$image,
[boolean
$thumbnail = false] )
Parameters
$image
— SilverStripe\Assets\Image
$thumbnail
— boolean- generate a smaller image (based on thumbnail settings)
Returns
- void