Login   Register  
PHP Classes
elePHPant
Icontem

File: example.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Aderbal Nunes  >  Imagem Resize  >  example.txt  >  Download  
File: example.txt
Role: Example script
Content type: text/plain
Description: example
Class: Imagem Resize
Resize images keeping the proportions
Author: By
Last change:
Date: 8 years ago
Size: 433 bytes
 

Contents

Class file image Download
// exemplo de utilização (use example)

<?php
require("ImageOperations.inc.php");

// imagem passada pelo navegador ( image passed for the broswer )
$img $_GET["url"];

// fator a ser redimensionado ( factor to resize )
$xFator $_GET["tam"];

// crio um novo objeto ( an new object );
$image = new ImageOperations;


// implemento o método ( implementation of the method  )
$image->CriaThumb($img$xFator);

?>