Changeset 12749 for trunk/include/ws_functions.inc.php
- Timestamp:
- Dec 16, 2011, 6:00:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r12739 r12749 3233 3233 $img = new pwg_image($image_path, $params['library']); 3234 3234 3235 if (!is_bool($params['crop'])) 3236 $params['crop'] = get_boolean($params['crop']); 3237 if (!is_bool($params['follow_orientation'])) 3238 $params['follow_orientation'] = get_boolean($params['follow_orientation']); 3239 3235 3240 $result = $img->pwg_resize( 3236 3241 $thumb_path, … … 3240 3245 false, // automatic rotation is not needed for thumbnails. 3241 3246 true, // strip metadata 3242 get_boolean($params['crop']),3243 get_boolean($params['follow_orientation'])3247 $params['crop'], 3248 $params['follow_orientation'] 3244 3249 ); 3245 3250
Note: See TracChangeset
for help on using the changeset viewer.