mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14770] Reduce plupload resize quality
PHPBB3-14770
This commit is contained in:
parent
b6ea338309
commit
853362ddad
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ class plupload
|
||||||
if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0)
|
if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0)
|
||||||
{
|
{
|
||||||
$resize = sprintf(
|
$resize = sprintf(
|
||||||
'resize: {width: %d, height: %d, quality: 100},',
|
'resize: {width: %d, height: %d, quality: 90},',
|
||||||
(int) $this->config['img_max_width'],
|
(int) $this->config['img_max_width'],
|
||||||
(int) $this->config['img_max_height']
|
(int) $this->config['img_max_height']
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue