title: Krajee Bootstrap File-Upload Plugin Only Accept Image file Types
body: <p>I am trying to excel(.xls) file upload with  <a href="http://plugins.krajee.com/file-input#ajax-uploads" rel="nofollow">krajee bootstrap file upload</a> but it seems only accept image files.</p>
  
  <p>Here is My Javascript Codes:</p>
  
  <pre><code>            $("#dosyalar").fileinput({
                      uploadUrl: "ajax/upload_files.php",
                      uploadAsync: true,
                      previewFileType:'any',
                      language:"tr",
                      uploadExtraData: function() {
                          return { donem: $('#donem').val() };
                      }
                  }).on('filebatchuploaderror', function(event, data, previewId, index) {
                      var form = data.form,
                          files = data.files,
                          extra = data.extra,
                          response = data.response,
                          reader = data.reader;
                      console.log(response);
  
              }).on('filebatchuploadsuccess', function(event, data, previewId, index) {
                      var form = data.form,
                          files = data.files,
                          extra = data.extra,
                          response = data.response,
                          reader = data.reader;
                      alert (extra.bdInteli + " " +  response.uploaded);
                      console.log(response);
              });
  </code></pre>
  
  <p>Here PHP Codes For Test:</p>
  
  <pre><code>// upload.php
  // 'images' refers to your file input name attribute
  if (empty($_FILES['dosyalar'])) {
      echo json_encode(['error'=&gt;'No files found for upload.']);
      // or you can throw an exception
      return; // terminate
  }
  </code></pre>
  
  <p>When try to upload batch excel files every time it says <code>No files found for upload</code>.It seems doesnt accept .xls extension.</p>
  
  <p>How can I upload excel files using with this plugin?</p>
  
  <p>Thanks</p>