Images"

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:
The CKFinder allows you to create thumbnails and to scale the upload images to the size preferred by you. In order to learn more read this section. It will provide you information about how to configure thumbnails and scaling options properly. Note that without the GD library CKFinder will be unable to resize images and the thumbnails will be disabled.
+
== Image Auto Scaling ==
  
Image issues:
+
It is possible to configure CKFinder to automatically scale images to fit a maximum size. If the original image size is bigger than the one specified by you, the image size will be scaled down proportionally to fit your predefined values.
  
* [[CKFinder/Developers Guide/ASP.NET/Configuration/Images/Thumbnails|Thumbnails]]
+
You may also change the quality of the scaling algorithm in a range from 1 to 100.
 +
 
 +
To apply these options you should change values in the configuration file:
 +
<pre>Images.MaxWidth = 1600;
 +
Images.MaxHeight = 1200;
 +
Images.Quality = 80;</pre>
 +
== Verify Image Uploads ==
 +
 
 +
Image files may be improperly used to inject invalid content in your web site. To enhance the security of your server, CKFinder can automatically verify image files on upload. You can use the SecureImageUploads to enable/disable this feature:
 +
<pre>SecureImageUploads = true&nbsp;;
 +
</pre>

Latest revision as of 08:46, 28 May 2010

Image Auto Scaling

It is possible to configure CKFinder to automatically scale images to fit a maximum size. If the original image size is bigger than the one specified by you, the image size will be scaled down proportionally to fit your predefined values.

You may also change the quality of the scaling algorithm in a range from 1 to 100.

To apply these options you should change values in the configuration file:

Images.MaxWidth = 1600;
Images.MaxHeight = 1200;
Images.Quality = 80;

Verify Image Uploads

Image files may be improperly used to inject invalid content in your web site. To enhance the security of your server, CKFinder can automatically verify image files on upload. You can use the SecureImageUploads to enable/disable this feature:

SecureImageUploads = true ;
This page was last edited on 28 May 2010, at 08:46.