title: resize image if image is not gif in dropzone.js
body: <p>I want to add additional options if the conditions are met.</p>
  
  <p>More specifically I want to resize the image using the dropzone options if it is found that the image is not a gif.</p>
  
  <p>I tried using the code below but obviously it is wrong.</p>
  
  <pre><code>  accept: function(file, done) {
      var mime_type = file.type;
      if ( mime_type != 'image/gif'){
          Dropzone.options.myAwesomeDropzone = {
          resizeWidth: 650,
          resizeMimeType: 'image/jpeg',
          resizeQuality: 0.8 }
          done();
          return;
      }
      done();
    },
  </code></pre>