Changeset 10382
- Timestamp:
- Apr 15, 2011, 2:12:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/regenerateWebsize/ws_functions.inc.php
r10358 r10382 47 47 $params['maxheight'], 48 48 $params['quality'], 49 true49 false 50 50 ); 51 51 52 52 return true; 53 53 } 54 /*55 elseif (!empty($image['width']) and !empty($image['height'])56 and ($image['width'] > $params['maxwidth'] or $image['height'] > $params['maxheight']))57 {58 trigger_event(59 'upload_image_resize',60 false,61 $image['path'],62 $image['path'],63 min($params['maxwidth'], $image['width']),64 min($params['maxheight'], $image['height']),65 $params['quality'],66 true67 );68 54 69 return true;70 }71 */72 55 return false; 73 56 }
Note: See TracChangeset
for help on using the changeset viewer.