PHP Classes

File: examples/thumbnail.php

Recommend this page to a friend!
  Classes of Nicholas Oliveira   Image Wrapper   examples/thumbnail.php   Download  
File: examples/thumbnail.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Image Wrapper
Crop and resize PNG, JPEG and GIF images
Author: By
Last change: Update of examples/thumbnail.php
Date: 6 months ago
Size: 223 bytes
 

Contents

Class file image Download
<?php

include("../cbImage.php");
include(
"../ImageResizer.class.php");
$c = new Image("cars.jpg");
$r = new ImageResizer($c);

//print_r($c->getType());


//$r->scalePercentage(80);
$r->Thumbnail(200,200);
$r->show();


?>