File: preview.php

Recommend this page to a friend!
  Classes of Ondra Rafaj  >  Fuerte Image Tool  >  preview.php  >  Download  
File: preview.php
Role: Example script
Content type: text/plain
Description: live preview of image in img tag
Class: Fuerte Image Tool
Perform image manipulation operations
Author: By
Last change:
Date: 13 years ago
Size: 281 bytes



Class file image Download
= $_GET['path'];
$width = (int) $_GET['width'];
if (empty(
$width)) $width = 100;
$height = (int) $_GET['height'];
if (empty(
$height)) $height = 100;
require_once (
$img = new images($path);
$img->resize($width, $height);

For more information send a message to info at phpclasses dot org.