(New page: 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 ho...) |
m (moved CKFinder/Developers Guide/ASP.NET/Configuration/Images to CKFinder 1.x/Developers Guide/ASP.NET/Configuration/Images) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == 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: | ||
+ | <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 ; | ||
+ | </pre> |
Latest revision as of 07: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 ;