Changeset 13843 for trunk/admin/include/functions_upload.inc.php
- Timestamp:
- Apr 1, 2012, 2:02:36 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upload.inc.php
r13082 r13843 270 270 } 271 271 272 // we need to save the rotation angle in the database to compute 273 // width/height of "multisizes" 274 $rotation_angle = pwg_image::get_rotation_angle($file_path); 275 $rotation = pwg_image::get_rotation_code_from_angle($rotation_angle); 276 272 277 $file_infos = pwg_image_infos($file_path); 273 278 … … 281 286 'md5sum' => $md5sum, 282 287 'added_by' => $user['id'], 288 'rotation' => $rotation, 283 289 ); 284 290 … … 308 314 'md5sum' => $md5sum, 309 315 'added_by' => $user['id'], 316 'rotation' => $rotation, 310 317 ); 311 318
Note: See TracChangeset
for help on using the changeset viewer.