Index: /temp/trunk/html/test/kakinaka/resize_image.php
===================================================================
--- /temp/trunk/html/test/kakinaka/resize_image.php	(revision 9189)
+++ /temp/trunk/html/test/kakinaka/resize_image.php	(revision 9190)
@@ -10,5 +10,5 @@
 
 //sfprintr(pathinfo($file));
-$path = $objImage->saveResizeImage($file, 1000, 1000, true);
+$path = $objImage->saveResizeImage($file, 100, 100, true);
 
 //sfprintr($path);
Index: /temp/trunk/html/admin/products/product.php
===================================================================
--- /temp/trunk/html/admin/products/product.php	(revision 9156)
+++ /temp/trunk/html/admin/products/product.php	(revision 9190)
@@ -524,14 +524,5 @@
 	
 	if($objUpFile->temp_file[$arrImageKey[$to_key]] == ""){
-		// Éý¤Î½Ì¾®Î¨
-		($to_w < $from_w) ? $wscale = $to_w / $from_w :	$wscale = 1;
-		
-		// ¹â¤µ¤Î½Ì¾®Î¨
-		($to_h < $from_h) ? $hscale = $to_h / $from_h :	$hscale = 1;
-		
-		// ½Ì¾®Î¨¤Ï¾®¤µ¤¤¤Û¤¦¤Ë¤¢¤ï¤»¤ë
-		($wscale < $hscale) ? $scale = $wscale : $scale = $hscale;
-		
-		$path = $objUpFile->saveResizeImage($_POST['image_key'], $scale);
+		$path = $objUpFile->saveResizeImage($_POST['image_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 9153)
+++ /temp/trunk/data/class/SC_UploadFile.php	(revision 9190)
@@ -282,5 +282,5 @@
 		
 	// ³ÈÂçÎ¨¤ò»ØÄê¤·¤Æ²èÁüÊÝÂ¸
-	function saveResizeImage($keyname, $zip_scale = 1) {
+	function saveResizeImage($keyname, $to_w = 1, $to_h = 1) {
 		$path = "";
 		
@@ -292,5 +292,5 @@
 		$objImage = new SC_Image($filepath);
 		
-		$path = $objImage->saveResizeImage($filepath, $zip_scale);
+		$path = $objImage->saveResizeImage($filepath, $to_w, $to_h);
 		
 		// ¥Õ¥¡¥¤¥ëÌ¾¤À¤±ÊÖ¤¹
