Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Drazen  >  Thumb-nailit  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Thumb-nailit
Generate size limited thumbnails of a given image
Author: By
Last change:
Date: 9 years ago
Size: 237 bytes
 

Contents

Class file image Download
<?

include("thumb-nailit.php");

$old_name="/path/name.jpg";
$new_name="/path/thumbnail.jpg";
$wanted_size=120;
$report=0;


$resizer=new thumbnailit;
$result=$resizer->ResizeImg($old_name,$new_name,$wanted_size,$report);
?>