SlideshowImage::resizeImages
If there's a max-size set in the SiteConfig ({width}x{height}) for the image, resize the image.
This saves space on the hosting and prevents huge high-res images to stay online for no reason.
Signature
public function resizeImages(SiteConfig
$siteConfig )
Parameters
$siteConfig
— SiteConfig
Line | Task |
---|---|
72+ | Update to SilverStripe Image methods for file-resizing. |