Changeset 9269


Ignore:
Timestamp:
2006/11/28 10:17:21 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_UploadFile.php

    r9268 r9269  
    304304        $objImage = new SC_Image($filepath); 
    305305         
    306         //$path = $this->makeThumb($filepath, $to_w, $to_h); 
    307          
    308         $path = $objImage->saveResizeImage($filepath, $to_w, $to_h); 
     306        $path = $this->makeThumb($filepath, $to_w, $to_h); 
     307         
     308        //$path = $objImage->saveResizeImage($filepath, $to_w, $to_h); 
    309309         
    310310        // ¥Õ¥¡¥¤¥ë̾¤À¤±ÊÖ¤¹ 
  • temp/trunk/data/lib/gdthumb.php

    r7180 r9269  
    124124                if(function_exists("imagecreatefromgif")) { 
    125125                    $src_im = imagecreatefromgif($path); 
    126                     $dst_im = $imagecreate($re_size[0], $re_size[1]); 
     126                    $dst_im = $imagecreatetruecolor($re_size[0], $re_size[1]); 
    127127                     
    128128                    $transparent = imagecolortransparent($src_im); 
Note: See TracChangeset for help on using the changeset viewer.