I want to know how to make custom preview template. The documentation doesn't explain everything well, And I searched for tutorial about I didn't find anything.
Update
My html
<div id="dropzone">
<div id="template-preview">
<img src="assets/images/icons/plus-icon-white.png" alt="" />
<span>Choose or drop file from your computer</span>
<div class="dz-preview dz-file-preview well" id="dz-preview-template">
<div class="dz-details">
<div class="dz-filename"><span data-dz-name></span></div>
<div class="dz-size" data-dz-size></div>
</div>
<div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>
<div class="dz-success-mark"><span></span></div>
<div class="dz-error-mark"><span></span></div>
<div class="dz-error-message"><span data-dz-errormessage></span></div>
</div>
</div>
</div>
My js
var drop = $('#dz-preview-template').html();
$('#dropzone').dropzone({
url: "/upload",
maxFilesize: 100,
paramName: "uploadfile",
maxThumbnailFilesize: 5,
previewTemplate: drop,
previewsContainer: "#template-preview"
});