title: Dropzone acceptedFiles error
body: <p>Kindly help on filtering image types to upload, I've done some trial and error but can't get this to work. Here's my code:</p>
  
  <pre><code>$(document).ready(function(){ 
  
     Dropzone.autoDiscover = false;
     var myDropzone = new Dropzone("#mydropzone",{
        url:"upload.php",
        uploadMultiple: true,
        maxFilesize: 2,
        maxFiles : 3,
        acceptedFiles: ".jpg,.jpeg,.png", &lt;-- this won't work
        dictInvalidFileType: "You can't upload files of this type, only png or jpg file",
        autoProcessQueue : true,
        parallelUploads: 3,
        addRemoveLinks: true,
     });
  });
  </code></pre>
  
  <p>I've tried:</p>
  
  <pre><code>acceptedFiles: "image/jpg,image/jpeg,image/png",
  </code></pre>
  
  <p>but still no uploads in the directory..if I removed the comma in:</p>
  
  <pre><code>acceptedFiles: ".jpg,.jpeg,.png"
  </code></pre>
  
  <p>it worked, uploads is showing up on my directory folder but it's accepting all types of uploads..is there some kind of ordering to make this work? anyone help pls?</p>