Changeset 10382
- Timestamp:
- 04/15/11 14:12:01 (2 years ago)
- Files:
-
- 1 modified
-
extensions/regenerateWebsize/ws_functions.inc.php (modified) (1 diff)
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 }
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)