title: DropZone events not working - need a success call back
body: <p>I am using Dropzone along with Laravel. Currently the images are uploading fine to S3.</p>
  <p>But I need to know a way that I can know when the file uploads are complete, and also get their url's back.</p>
  <p>Currently this: (using the docs)</p>
  <pre><code>var token = &quot;{!! csrf_token() !!}&quot;;
  $(&quot;div#dropzoneFileUpload&quot;).dropzone({
      url: &quot;/project/uploadImage&quot;,
      params: {
          _token: token
      }
  });
  Dropzone.options.dropzoneFileUpload = {
      paramName: &quot;file&quot;, // The name that will be used to transfer the file
      maxFilesize: 2, // MB
      accept: function(file, done) {
  
      },
      init: function() {
          this.on(&quot;addedfile&quot;, function(file) {
              alert(&quot;Added file.&quot;);
          });
      }
  };
  </code></pre>
  <p>Doesn't alert anything when a file is added, nothing seems to be working in terms of events.</p>
  <p>Any Help?</p>
  <p>For reference this is the div that I create:</p>
  <pre><code>&lt;div class='dropzone' id='dropzoneFileUpload'&gt;&lt;/div&gt;
  </code></pre>