I am using uploadify HTML5 version (just brought and downloaded the latest). However my problem is to show only selected given file extensions in the popup dialog box is not working as expected, it shows all files. As far as i am concern my coding below is exactly like the demo in the website. It works fine with all the other functionality like uploading, buttontext...etc only issue is i want to show only files of given type in the popup dialog box.
<div id="logoqueue"></div>
<form>
<input id="logo" name="logo" type="file">
<span style="font-size:9px">* JPG,PNG,GIF files only </span>
<script type="text/javascript">
$(function() {
$('#logo').uploadifive({
'auto' : true,
'method' : 'post',
'fileTypeDesc' : 'Image Files',
'fileTypeExts' : '*.jpg;*.png;*.gif;*.jpeg;',
'fileSizeLimit' : '5MB',
'formData' : {'uniqID':'67867868'},
'queueID' : 'logoqueue',
'uploadScript' : '/ajax/uploadlogo.php',
'fileTypeDesc': 'Select Image',
'onUploadComplete' : function(file, data) {
//console.log(data);
}
});
});
</script>
Does anyone feel anything fishy here ? please note i am using the HTML 5 version not the free flash version.