Ignore:
Timestamp:
11/08/09 09:29:42 (10 years ago)
Author:
gogo
Message:

Ticket #1465

Add an option resize_files to both ExtendedFileManager? and ImageManager?, defaults true, false turns off the automatic image resizing.

Location:
trunk/plugins/ExtendedFileManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/config.inc.php

    r1143 r1210  
    146146*/ 
    147147$IMConfig['thumbnail_dir'] = 't'; 
     148 
     149/** 
     150 * Resize files, or not.  If the dimensions for an image are changed 
     151 * this will control if the image is actually resized.   
     152 * 
     153 * Usually you want this true, unless you are very disk space concious. 
     154 */ 
     155  
     156$IMConfig['resize_files'] = true; 
    148157 
    149158/** 
  • trunk/plugins/ExtendedFileManager/resizer.php

    r999 r1210  
    2323{ 
    2424  js_fail('Missing parameter.'); 
     25} 
     26 
     27if($IMConfig['resize_files'] == FALSE) 
     28{ 
     29    js_success($_GET['img']); 
    2530} 
    2631 
Note: See TracChangeset for help on using the changeset viewer.