title: Dropzone delete uploaded images from server
body: <p>I use dropzone.js for my image uploading to the server.<br>
  Now I want to be able to delete the just uploaded images in the dropzone.  </p>
  
  <p>My dropzone config:</p>
  
  <pre><code>Dropzone.options.myAwesomeDropzone = {
     paramName: "file",
     maxFilesize: 10,
     url: '/test',
     maxFiles: 3,
     accept: function (file, done) {
        console.log(file);
        if (file.type !== "image/jpeg" &amp;&amp; file.type !== "image/png" &amp;&amp; file.type !== "application/pdf") {
          done("Error! Files of this type are not accepted");
        }
        else { done(); }},
     addRemoveLinks: true
  };
  </code></pre>
  
  <p>The <code>addRemoveLinks: true</code> enables the delete button on the thumbnails but this only removes the thumbnails in the dropzone.
  The actual files are still in place on the server.</p>
  
  <p>Upload code:</p>
  
  <pre><code>  foreach (string s in Request.Files)
    {
       _file = Request.Files[s];
       var pathToFile = Path.Combine(physicalPathToDirectory, _file.FileName);
  
       _file.SaveAs(pathToFile);
  
     }
  </code></pre>