I want to upload separate files and then view and print these files without uploading the server. If user click send button, send these files to the server.
Exp:
<p>
<input type="file" id="file1">
<img src="">Show thumbnail here
<button class="print">Print</button>
</p>
<p>
<input type="file" id="file2">
<img src="">Show thumbnail here
<button class="print">Print</button>
</p>
<p>
<input type="file" id="file3">
<img src="">Show thumbnail here
<button class="print">Print</button>
</p>
<p>
<input type="file" id="file4">
<img src="">Show thumbnail here
<button class="print">Print</button>
</p>
<button>Send All Files to Server</button>
Can I do this with only use vanilla JS without using a third party app?