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