Login   Register  
PHP Classes

File: image.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of andrei tataranu  >  Image dynamic resizer  >  image.php  >  Download  
File: image.php
Role: Example script
Content type: text/plain
Description: outputs an image
Class: Image dynamic resizer
Resize an image keeping the aspect ratio
Author: By
Last change:
Date: 6 years ago
Size: 120 bytes


Class file image Download
<?    session_start();
$img $_SESSION['images'][$_GET['id']];
header("Content-type: image/jpeg");