phpBB

Code Changes

File: phpbb/plupload/plupload.php

  Unmodified   Added   Modified   Removed
Line 266Line 266
		if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0)
{
$resize = sprintf(

		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']
);

				(int) $this->config['img_max_width'],
(int) $this->config['img_max_height']
);