File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
resizeMaxHeight
— Proportionally resize the image to a specified height (scales down the image ONLY, if scaling up is required look at @alias resizeToHeight)
Name | Description |
---|---|
$intMaxHeight | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intMaxHeight = 124;
//Call the function resizeMaxHeight with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> resizeMaxHeight($intMaxHeight);