SilverStripe\Assets\ImageManipulation::ScaleWidth
Scale image proportionally by width. Use in templates with $ScaleWidth.
Signature
public function ScaleWidth(int
$width )
Parameters
$width
— int- The width to set
Returns
- AssetContainer