To use, just include image.class.php to your PHP file or where you are using resizing function. Then create new variable with an iresize() class object then use functions which comes with Image-resize class.
Example usage;
<?php
require "image.class.php";
$resize = new iresize();
$resize->img("test.jpg")->size("500x500")->render("test-resized.jpg");
?>
Explaination;
iresize->img($source_filename) is where we are loading image to resize
->size("500x500") is for entering desired image size
->render("test-resized.jpg") is for final result. emptry/filename with extension
Download / Source