SilverStripe\Assets\Image_Backend::resizeByWidth
Resize an image by width. Preserves aspect ratio.
Signature
public function resizeByWidth(int
$width )
Parameters
$width
— int
Returns
- Image_Backend
public function resizeByWidth(int
$width )
$width
—
int