TwistPHP Documentation

resizeMaxHeight

File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
Extends:

resizeMaxHeightProportionally resize the image to a specified height (scales down the image ONLY, if scaling up is required look at @alias resizeToHeight)

Parameters

Name Type Description
$intMaxHeightintegern/a

Return Values

void — No return information has been documented for this function.

Example

<?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);