TemplatesModelTemplate::resizeImage
Resize an image.
Signature
public function resizeImage(string
$file,
string
$width,
string
$height )
Parameters
-
$file
- The name and location of the file
-
$width
- The new width of the image.
-
$height
- The new height of the image.
Returns
- boolean
- true if image resize successful, false otherwise.