m (moved CKFinder/Developers Guide/PHP/Configuration/Images/Scaling to CKFinder 1.x/Developers Guide/PHP/Configuration/Images/Scaling) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Ckfinder scaling description}} | |
− | + | <source lang="php">$config['Images'] = Array( | |
− | < | ||
− | $config['Images'] = Array( | ||
'maxWidth' => 1600, | 'maxWidth' => 1600, | ||
'maxHeight' => 1200, | 'maxHeight' => 1200, | ||
'quality' => 80); | 'quality' => 80); | ||
− | </ | + | </source> |
Latest revision as of 07:46, 28 May 2010
The scaling option gives you an oppurtunity to specify the maximum size of uploading images. If the size is bigger than the one specified by you, the image size will be scaled to your size values.
You may also change the quality of uploading images in a range from 1 to 100. To apply these options you should change values in this section:
$config['Images'] = Array( 'maxWidth' => 1600, 'maxHeight' => 1200, 'quality' => 80);