title: Move dropzone preview template before uploading
body: <p>I use dropzone for upload files. But I want to know is there possible to group the preview template before uploading process success? Now I only know to move "file.previewElement" after file uploaded. But the problem is, when upload in progress, the file is out from the box because the file is not moving yet. This is my code on success:</p>
  
  <pre><code>success : function (file, data) {
          var type = file.type.split('/');
          var fileType = checkFileType(file.name);
  
          if(type[0] === 'image'){ //if filetype image move to image div
                $('#fieldFile').find('.file-upload-image').prepend(file.previewElement);                      
          }else{ //if others move to document div
               $('#fieldFile').find('.file-upload-document').prepend(file.previewElement);
          }                      
   }
  </code></pre>
  
  <p>Any help would be very much appreciated. Thanks.</p>