1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 16:10:38 +01:00

Merge pull request #4586 from Crizz0/ticket/14770

[ticket/14770] Reduce plupload resize quality
This commit is contained in:
Marc Alexander 2016-12-18 20:40:42 +01:00
commit 48659c2ce1
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ class plupload
if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0)
{
$resize = sprintf(
'resize: {width: %d, height: %d, quality: 100},',
'resize: {width: %d, height: %d, quality: 85},',
(int) $this->config['img_max_width'],
(int) $this->config['img_max_height']
);

View File

@ -24,7 +24,7 @@ class phpbb_plupload_test extends phpbb_test_case
array(
130,
150,
'resize: {width: 130, height: 150, quality: 100},'
'resize: {width: 130, height: 150, quality: 85},'
),
);
}