(New page: {{Ckfinder Image upload Description|code=<pre>CKFinder_Config.Add "CheckDoubleExtension", True</pre>}}) |
|||
Line 1: | Line 1: | ||
− | {{Ckfinder Image upload Description|code=<pre>CKFinder_Config.Add " | + | {{Ckfinder Image upload Description|code=<pre>CKFinder_Config.Add "SecureImageUploads", true</pre>}} |
Revision as of 12:04, 3 January 2008
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:CKFinder_Config.Add "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.