PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Himanshu Patel   Image Resizing Class   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: This is example ready for running
Class: Image Resizing Class
Resize images preserving the aspect ratio
Author: By
Last change:
Date: 15 years ago
Size: 424 bytes


Class file image Download
//include class file
$obj = new img_opt();
// set maximum width within wich the image should be resized
// set maximum height within wich the image should be resized
// for example size of the area in which image to be displayed
// call the functio to resize the image