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