Resize an image and store the resized version in the image target folder
public static get ( string $image, integer $width, integer $height, string $mode = '', string $target = null, boolean $force = false ) : string | null | ||
$image | string | The image path |
$width | integer | The target width |
$height | integer | The target height |
$mode | string | The resize mode |
$target | string | An optional target path |
$force | boolean | Override existing target images |
return | string | null | The path of the resized image or null |