aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-01-19 14:00:38 +0000
committerplegall <plg@piwigo.org>2011-01-19 14:00:38 +0000
commit714219f490c7f176d7ecfae80e3afc2d5e329e97 (patch)
treee1b93974cdb004eb7ccd5a4ffcec964eb5dd8ba0 /include
parent1b7781c8669ac98d656b57f4b540ef0fa818a94a (diff)
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) git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/config_default.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 02a595f86..b2cb57e98 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -761,5 +761,7 @@ $conf['enable_synchronization'] = true;
// PEM url
$conf['alternative_pem_url'] = '';
-
+// based on the EXIF "orientation" tag, should we rotate photos added in the
+// upload form or through pwg.images.addSimple web API method?
+$conf['upload_form_automatic_rotation'] = true;
?>