title: Dropzone accepted Files not working
body: <p>I am working with dropzone to upload files. code is working fine but the <code>acceptedFiles</code> variable is not working in the script. the upload script is accepting all formats like .zip,.mp3 which should not be allowed. i have uploaded the <code>dropzone.js</code> file and see my code below :</p>
  
  <p><strong>My upload script is here :</strong></p>
  
  <pre><code> $(".dropzone2").dropzone({
          url: '&lt;?php echo base_url(); ?&gt;docupload',
          margin: 20,
          acceptedFiles: 'image/*',
          params:{
              'action': 'save',
              'projectId': '&lt;?php echo $this-&gt;uri-&gt;segment(2) ?&gt;'
  
          },
          uploadOnDrop: true,
          uploadOnPreview: true,
          success: function(res, index){ console.log(index);
              $('#fileUpload').modal('hide');
          }
      });
  </code></pre>
  
  <p><strong>And the HTml calss is here :</strong></p>
  
  <p><code>&lt;div class="dropzone2"&gt;&lt;/div&gt;</code></p>