aboutsummaryrefslogtreecommitdiffstats
path: root/admin/configuration.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-05-02 04:29:56 +0000
committerrvelices <rv-github@modusoptimus.com>2012-05-02 04:29:56 +0000
commit40a4dd63f09e96550239c562730ab99e29760bc0 (patch)
tree34aacf7ee362c58f84ade72f26aa18e3bfecfe81 /admin/configuration.php
parent642d757bd4644e8596ee17bc57d674a85a38c4ff (diff)
multi size:
- fix external imagick issues when rotation was required - fix: derivative were generated continuosly until a first save performed in the admin screen - added sharpen param in the new config screen - increased the sharpen range (10% is less than before) git-svn-id: http://piwigo.org/svn/trunk@14649 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/configuration.php')
-rw-r--r--admin/configuration.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index f9e0999e8..60da0ae0e 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -454,8 +454,6 @@ switch ($page['section'])
$disabled = array();
}
- $common_quality = 50;
-
$tpl_vars = array();
foreach(ImageStdParams::get_all_types() as $type)
{
@@ -486,17 +484,11 @@ switch ($page['section'])
$tpl_var['minw'] = $tpl_var['minh'] = "";
}
$tpl_var['sharpen'] = $params->sharpen;
- $tpl_var['quality'] = $params->quality;
-
- if ($params->quality > $common_quality and $tpl_var['enabled'])
- {
- $common_quality = $params->quality;
- }
}
$tpl_vars[$type]=$tpl_var;
}
$template->assign('derivatives', $tpl_vars);
- $template->assign('resize_quality', $common_quality);
+ $template->assign('resize_quality', ImageStdParams::$quality);
}
break;