title: how to upload and delete files from dropzone.js
body: <p>I have used the below code the image has been deleted but the thumbnail image still showing.</p>
  
  <pre><code> Dropzone.options.myDropzone = {
    init: function() {
      this.on("success", function(file, response) {
        file.serverId = response; 
  
      });
      this.on("removedfile", function(file) {
        if (!file.serverId) { return; }
        $.post("delete-file.php?id=" + file.serverId); 
      });
    }
  </code></pre>