Changeset 9191
- Timestamp:
- 2006/11/27 19:20:15 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 4 edited
-
data/class/SC_UploadFile.php (modified) (1 diff)
-
html/admin/products/product.php (modified) (1 diff)
-
html/test/kakinaka/resize_image.php (modified) (1 diff)
-
html/test/kakinaka/templates/index.tpl (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_UploadFile.php
r9190 r9191 282 282 283 283 // ³ÈÂçΨ¤ò»ØÄꤷ¤Æ²èÁüÊݸ 284 function saveResizeImage($keyname, $to_w = 1, $to_h = 1) {284 function saveResizeImage($keyname, $to_w, $to_h) { 285 285 $path = ""; 286 286 -
temp/trunk/html/admin/products/product.php
r9190 r9191 524 524 525 525 if($objUpFile->temp_file[$arrImageKey[$to_key]] == ""){ 526 $path = $objUpFile->saveResizeImage($ _POST['image_key'], $to_w, $to_h);526 $path = $objUpFile->saveResizeImage($from_key, $to_w, $to_h); 527 527 $objUpFile->temp_file[$arrImageKey[$to_key]] = $path; 528 528 } -
temp/trunk/html/test/kakinaka/resize_image.php
r9190 r9191 1 1 <?php 2 2 3 require_once("../../require.php"); 3 $include_dir = realpath(dirname( __FILE__)); 4 require_once($include_dir . "/../data/class/SC_Image.php"); 4 5 5 $objView = new SC_UserView("./templates/");6 6 $objImage = new SC_Image(IMAGE_TEMP_DIR); 7 7 8 $file = $_GET["image"]; 8 9 9 $file = IMAGE_TEMP_DIR . "kaki.jpg"; 10 11 //sfprintr(pathinfo($file)); 12 $path = $objImage->saveResizeImage($file, 100, 100, true); 13 14 //sfprintr($path); 10 $objImage->saveResizeImage($file, 100, 100, true); 15 11 16 12 ?>
Note: See TracChangeset
for help on using the changeset viewer.
