aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-05-05 21:42:58 +0000
committerplegall <plg@piwigo.org>2009-05-05 21:42:58 +0000
commit4d7292c50cfb57ed824b479026e4c9829a0b9473 (patch)
treee18c4d14c73193b0744fa24cc6e71f18301f93df /include
parent4dba7034931ea51d0fdbfaa8356a399e4376bbbd (diff)
feature 981 added: ability to set the compression level for thumbnail creation.
git-svn-id: http://piwigo.org/svn/branches/2.0@3270 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 81fe7ef0f..f44bcd7b8 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -150,6 +150,10 @@ $conf['tn_width'] = 128;
// tn_height : default height for thumbnails creation
$conf['tn_height'] = 128;
+// tn_compression_level: compression level for thumbnail creation. 0 is low
+// quality, 100 is high quality.
+$conf['tn_compression_level'] = 75;
+
// show_version : shall the version of Piwigo be displayed at the
// bottom of each page ?
$conf['show_version'] = true;