CropboxImage::CropboxedImage
Generate a resized copy of this image with the given width & height, cropping to maintain aspect ratio and focus point.
Use in templates with $CropboxImage
Signature
public function CropboxedImage(integer
$width,
integer
$height )
Parameters
$width
— integer- Width to crop to
$height
— integer- Height to crop to
Returns
- Image