(New page: Sometimes a user can try to upload a file which isn't an image file but appears as if it would be a one. Example: You have a text file called document.jpeg and you try to upload it. If you...) |
m (moved CKFinder/Developers Guide/ColdFusion/Configuration/Security/Image uploads to CKFinder 1.x/Developers Guide/ColdFusion/Configuration/Security/Image uploads) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Ckfinder Image upload Description|code=<pre>config.secureImageUploads = true</pre>}} | |
− | <pre>config.secureImageUploads = true | ||
− | </pre> | ||
− |
Latest revision as of 07:46, 28 May 2010
Sometimes a user can try to upload a file which isn't an image file but appears as if it would be a one. Example: You have a text file called document.jpeg and you try to upload it. If you enable the function by setting it to true:config.secureImageUploads = truethe program will check the dimensions of the file. If they are zero, then the file isn't an image and it will be rejected be the CKFinder.