Ignore:
Timestamp:
01/07/10 13:18:36 (15 years ago)
Author:
amuller
Message:

Ticket #597 - Implementação de Drag and Drop

Location:
sandbox/filemanager/inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/filemanager/inc/class.vfs_functions.inc.php

    r1896 r1924  
    221221                function summary() 
    222222                { 
    223                         header('Content-Type: image/gif'); 
     223                        header('Content-Type: image/png'); 
    224224                        $expires = 60*60*24*15; 
    225225                        header("Cache-Control: maxage=".$expires); 
     
    233233                                if (strlen($content) < 1) 
    234234                                { 
    235                                         $filename = './filemanager/templates/default/images/error.gif'; 
     235                                        $filename = './filemanager/templates/default/images/error.png'; 
    236236                                        $handle = fopen($filename,'rb'); 
    237237                                        $content = fread($handle,filesize($filename)); 
  • sandbox/filemanager/inc/upload.php

    r1920 r1924  
    5050        imagecopyresampled($image_new, $image_big, 0, 0, 0, 0, $new_width, $new_height, $width, $height); 
    5151        ob_start(); 
    52         imagegif($image_new); 
     52        imagepng($image_new); 
    5353        $content = ob_get_clean(); 
    5454        return $content; 
Note: See TracChangeset for help on using the changeset viewer.