Index: temp/trunk/html/test/kakinaka/resize_image.php
===================================================================
--- temp/trunk/html/test/kakinaka/resize_image.php	(revision 9190)
+++ temp/trunk/html/test/kakinaka/resize_image.php	(revision 9191)
@@ -1,16 +1,12 @@
 <?php
 
-require_once("../../require.php");
+$include_dir = realpath(dirname( __FILE__));
+require_once($include_dir . "/../data/class/SC_Image.php");
 
-$objView = new SC_UserView("./templates/");
 $objImage = new SC_Image(IMAGE_TEMP_DIR);
 
+$file = $_GET["image"];
 
-$file = IMAGE_TEMP_DIR . "kaki.jpg";
-
-//sfprintr(pathinfo($file));
-$path = $objImage->saveResizeImage($file, 100, 100, true);
-
-//sfprintr($path);
+$objImage->saveResizeImage($file, 100, 100, true);
 
 ?>
Index: temp/trunk/html/admin/products/product.php
===================================================================
--- temp/trunk/html/admin/products/product.php	(revision 9190)
+++ temp/trunk/html/admin/products/product.php	(revision 9191)
@@ -524,5 +524,5 @@
 	
 	if($objUpFile->temp_file[$arrImageKey[$to_key]] == ""){
-		$path = $objUpFile->saveResizeImage($_POST['image_key'], $to_w, $to_h);
+		$path = $objUpFile->saveResizeImage($from_key, $to_w, $to_h);
 		$objUpFile->temp_file[$arrImageKey[$to_key]] = $path;
 	}
Index: temp/trunk/data/class/SC_UploadFile.php
===================================================================
--- temp/trunk/data/class/SC_UploadFile.php	(revision 9190)
+++ temp/trunk/data/class/SC_UploadFile.php	(revision 9191)
@@ -282,5 +282,5 @@
 		
 	// ³ÈÂçÎ¨¤ò»ØÄê¤·¤Æ²èÁüÊÝÂ¸
-	function saveResizeImage($keyname, $to_w = 1, $to_h = 1) {
+	function saveResizeImage($keyname, $to_w, $to_h) {
 		$path = "";
 		
