blueimp/jQuery-File-Upload — Issue #760: maxFileSize and acceptFileTypes not working
Author: nunorafaelrocha
Created: 2011-11-06 00:02:31+00:00
State: open

Hi there.

The properties maxFileSize and acceptFileTypes aren't working.

Here's my code:

$('#fileupload').fileupload({
maxFileSize: 500,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
dataType: 'json',
url: 'upload.php',
});

Both properties dont work because allow me select any kind of file and allows any file size... :(

Thank for your help!