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