Index: temp/trunk/html/test/kakinaka/resize_image.php
===================================================================
--- temp/trunk/html/test/kakinaka/resize_image.php	(revision 9098)
+++ temp/trunk/html/test/kakinaka/resize_image.php	(revision 9181)
@@ -10,7 +10,7 @@
 
 sfprintr(pathinfo($file));
-$path = $objImage->saveResizeImage($file, 0.5);
+$path = $objImage->saveResizeImage($file, 0.5, true);
 
-sfprintr($path);
+//sfprintr($path);
 
 ?>
Index: temp/trunk/data/class/SC_Image.php
===================================================================
--- temp/trunk/data/class/SC_Image.php	(revision 9128)
+++ temp/trunk/data/class/SC_Image.php	(revision 9181)
@@ -53,5 +53,5 @@
 
 	// ³ÈÂçÎ¨¤ò»ØÄê¤·¤Æ²èÁüÊÝÂ¸
-	function saveResizeImage($file, $zip_scale = 1) {
+	function saveResizeImage($file, $zip_scale = 1, $header = false) {
 		// ¥Ç¥£¥ì¥¯¥È¥ê¼èÆÀ
 		$dir = dirname($file);
@@ -86,4 +86,8 @@
 					$dst_im = imagecreatetruecolor($zip_width, $zip_height);	
 					imagecopyresampled($dst_im, $src_im, 0, 0, 0,0, $zip_width, $zip_height, $src_w, $src_h);
+					
+					// ²èÁü½ÐÎÏ
+					if($header) header("Content-Type: image/jpeg");
+
 					ImageJPEG($dst_im, $path);
 					break;
@@ -95,4 +99,8 @@
 					$dst_im = imagecreatetruecolor($zip_width, $zip_height);	
 					imagecopyresampled($dst_im, $src_im, 0, 0, 0,0, $zip_width, $zip_height, $src_w, $src_h);
+					
+					// ²èÁü½ÐÎÏ
+					if($header) header("Content-Type: image/gif");
+					
 					ImageGIF($dst_im, $path);
 					break;
@@ -104,4 +112,8 @@
 					$dst_im = imagecreatetruecolor($zip_width, $zip_height);	
 					imagecopyresampled($dst_im, $src_im, 0, 0, 0,0, $zip_width, $zip_height, $src_w, $src_h);
+
+					// ²èÁü½ÐÎÏ
+					if($header) header("Content-Type: image/png");
+					
 					ImagePNG($dst_im, $path);
 					break;
@@ -113,5 +125,10 @@
 			ImageDestroy($src_im);
 			ImageDestroy($dst_im);
-			return $path;
+
+			if(!$header){
+				return $path;
+			}else{
+				return "";
+			}
 		}
 		
