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> |
Revision as of 17:54, 12 January 2008
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 ;