SilverStripe\Assets\ImageManipulation::ScaleMaxHeight
Proportionally scale down this image if it is taller than the specified height.
Similar to ScaleHeight but without up-sampling. Use in templates with $ScaleMaxHeight.
Signature
public function ScaleMaxHeight(int
$height )
Parameters
$height
— int- The maximum height of the output image
Returns
- AssetContainer