Ignore:
Timestamp:
Jan 19, 2011, 3:00:38 PM (13 years ago)
Author:
plg
Message:

feature 2040: to finish the "automatic rotation" feature, I had configuration
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upload.inc.php

    r8728 r8763  
    595595function get_rotation_angle($source_filepath)
    596596{
     597  global $conf;
     598
     599  if (!$conf['upload_form_automatic_rotation'])
     600  {
     601    return null;
     602  }
     603 
    597604  $rotation = null;
    598605 
Note: See TracChangeset for help on using the changeset viewer.