source: branches/rel/html/resize_image.php @ 12157

Revision 12157, 398 bytes checked in by uehara, 17 years ago (diff)
Line 
1<?php
2
3$include_dir = realpath(dirname( __FILE__));
4require_once($include_dir . "/../data/lib/gdthumb.php");
5require_once($include_dir . "/../data/conf/conf.php"); 
6
7$objThumb = new gdthumb();
8
9$file = $_GET["image"];
10if(file_exists($file)){
11    $objThumb->Main($file, $_GET["width"], $_GET["height"], "", true);
12}else{
13    $objThumb->Main(NO_IMAGE_DIR, $_GET["width"], $_GET["height"], "", true);
14}
15
16?>
Note: See TracBrowser for help on using the repository browser.