aboutsummaryrefslogtreecommitdiffstats
path: root/i.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-06-24 13:33:02 +0000
committerplegall <plg@piwigo.org>2013-06-24 13:33:02 +0000
commit2530c04f18f1b86eb2b82a6065c626d0ceab12c1 (patch)
tree0fb346c02b52c6d7e3a521ac1ce806a610363483 /i.php
parent0eb47f95e762014d495b023c93a67dbdb56c1c9b (diff)
feature 2929: strip metadata on configurable threshold
git-svn-id: http://piwigo.org/svn/branches/2.5@23498 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--i.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/i.php b/i.php
index 2fefd30d9..6b1b88193 100644
--- a/i.php
+++ b/i.php
@@ -609,7 +609,7 @@ if (!$changes)
ierror( $page['src_url'], 301);
}
-if ($d_size[0]*$d_size[1] < 256000)
+if ($d_size[0]*$d_size[1] < $conf['derivatives_strip_metadata_threshold'])
{// strip metadata for small images
$image->strip();
}