Scaling"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Ckfinder image description}}
+
{{Ckfinder scaling description}}
<pre>$config['Images'] = Array(
+
<source lang="php">$config['Images'] = Array(
'maxWidth' =&gt; 1600,
+
'maxWidth' => 1600,
'maxHeight' =&gt; 1200,
+
'maxHeight' => 1200,
'quality' =&gt; 80);
+
'quality' => 80);
</pre>
+
</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);
This page was last edited on 28 May 2010, at 07:46.