aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-06-24 13:34:03 +0000
committerplegall <plg@piwigo.org>2013-06-24 13:34:03 +0000
commitf599ea711c53e801fa551fabfb635f2490fedd8e (patch)
tree0e3a1a2b6ce27f02e37b6dd207ee4a76c2c3fc66 /include
parente41f9bddc91c0e9afebe06620d8ba2e3ed52620c (diff)
merge r23498 from branch 2.5 to trunk
feature 2929: strip metadata on configurable threshold git-svn-id: http://piwigo.org/svn/trunk@23499 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 8816e8a42..9cc5d8bea 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -780,6 +780,10 @@ $conf['chmod_value']= substr_compare(PHP_SAPI, 'apa', 0, 3)==0 ? 0777 : 0755;
// 'small', 'medium' or 'large'
$conf['derivative_default_size'] = 'medium';
+// below which size (in pixels, ie width*height) do we remove metadata
+// EXIF/IPTC... from derivative?
+$conf['derivatives_strip_metadata_threshold'] = 256000;
+
//Maximum Ajax requests at once, for thumbnails on-the-fly generation
$conf['max_requests']=3;