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

Revision 9207, 430 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");
5require_once($include_dir . "/../data/conf/conf.php"); 
6
7$objImage = new SC_Image(IMAGE_TEMP_DIR);
8
9$file = $_GET["image"];
10if(file_exists($file)){
11    $objImage->saveResizeImage($file, $_GET["width"], $_GET["height"], true);
12}else{
13    $objImage->saveResizeImage(NO_IMAGE_DIR, $_GET["width"], $_GET["height"], true);
14}
15
16?>
Note: See TracBrowser for help on using the repository browser.