TwistPHP Documentation

resizeHeight

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

resizeHeightProportionally resize the image to a specified height (scales up and down the image as required)

Parameters

Name Type Description
$intHeightintegern/a

Return Values

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

Example

<?php
//Set the variables for the example
$intHeight 124;

//Call the function resizeHeight with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> resizeHeight($intHeight);