public getThumbnail ( integer $maximumWidth = null, integer $maximumHeight = null, string $ratioMode = ImageInterface::RATIOMODE_INSET, boolean $allowUpScaling = null ) : |
||
$maximumWidth | integer | The thumbnail's maximum width in pixels |
$maximumHeight | integer | The thumbnail's maximum height in pixels |
$ratioMode | string | Whether the resulting image should be cropped if both edge's sizes are supplied that would hurt the aspect ratio |
$allowUpScaling | boolean | Whether the resulting image should be upscaled |
return |