Changeset 12750 for branches/2.3/include/ws_functions.inc.php
- Timestamp:
- Dec 16, 2011, 6:02:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/include/ws_functions.inc.php
r12738 r12750 3251 3251 $img = new pwg_image($image_path, $params['library']); 3252 3252 3253 if (!is_bool($params['crop'])) 3254 $params['crop'] = get_boolean($params['crop']); 3255 if (!is_bool($params['follow_orientation'])) 3256 $params['follow_orientation'] = get_boolean($params['follow_orientation']); 3257 3253 3258 $result = $img->pwg_resize( 3254 3259 $thumb_path, … … 3258 3263 false, // automatic rotation is not needed for thumbnails. 3259 3264 true, // strip metadata 3260 get_boolean($params['crop']),3261 get_boolean($params['follow_orientation'])3265 $params['crop'], 3266 $params['follow_orientation'] 3262 3267 ); 3263 3268
Note: See TracChangeset
for help on using the changeset viewer.