Restruct\SilverStripe\ImageCropper\ImageCropperExtension::applyCropManipulation
Resize and crop image to fill specified dimensions, WHILE first applying the manual cropper selection Use in templates with $CroppedImage
Signature
private function applyCropManipulation([int
$width = NULL,
[int
$height = NULL,
[boolean
$upscale = true]]] )
Parameters
$width
— int- Width to crop to
$height
— int- Height to crop to
$upscale
— boolean
Returns
- AssetContainer