source: temp/trunk/html/resize_image.php @ 9203

Revision 9203, 374 bytes checked in by kakinaka, 20 years ago (diff)

blank

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2
3$include_dir = realpath(dirname( __FILE__));
4require_once($include_dir . "/../data/class/SC_Image.php");
5
6$objImage = new SC_Image(IMAGE_TEMP_DIR);
7
8$file = $_GET["image"];
9if(file_exists($file)){
10    $objImage->saveResizeImage($file, $_GET["width"], $_GET["height"], true);
11}else{
12    $objImage->saveResizeImage(NO_IMAGE_DIR, $_GET["width"], $_GET["height"], true);
13}
14
15?>
Note: See TracBrowser for help on using the repository browser.