In my image below, as you can see, I would like to be able to change the position of the link to delete the file on the side of the content area.
I tried with custom bit template no luck.
Question: How can I remove a file button from my content area? Instead of the image below.
I only want to have a link to delete the image in another area

<div id="content"> <div id="my-dropzone" class="dropzone"> <span class="">Content Div Area</span> <div class="dz-message"> <h3>Drop files here</h3> or <strong>click</strong> to upload </div> </div> <div class="dropzone_preview" id="dz-preview"> <div class="dropzone_details"> <img data-dz-thumbnail /> </div> <a id="dz-remove" href="javascript:undefined;" data-dz-remove>Remove <-- here</a> </div> </div> <script src="<?php echo base_url(); ?>vendor/jquery/jquery.min.js"></script> <script src="<?php echo base_url(); ?>vendor/dropzone/dropzone.min.js"></script> <script> Dropzone.autoDiscover = false; var myDropzone = new Dropzone("#my-dropzone", { url: "<?php echo site_url("images/upload") ?>", acceptedFiles: "image/*", addRemoveLinks: true, thumbnailWidth: null, thumbnailHeight: null, addRemoveLinks: true, previewTemplate: document.getElementById('dz-preview').innerHTML, removedfile: function(file) { var name = file.name; $.ajax({ type: "post", url: "<?php echo site_url("images/remove") ?>", data: { file: name }, dataType: 'html' }); var previewElement; return (previewElement = file.previewElement) != null ? (previewElement.parentNode.removeChild(file.previewElement)) : (void 0); }, init: function() { this.on("thumbnail", function(file, dataUrl) { $('.dz-image').last().find('img').attr({width: '100%', height: '100%'}); }), this.on("success", function(file) { $('.dz-image').css({"width":"100%", "height":"auto"}); }); var me = this; $.get("<?php echo site_url("images/list_files") ?>", function(data) {
Mr. ED source share