Fix preview and keep uploaded filename
This commit is contained in:
@@ -13,8 +13,15 @@
|
||||
<input type="file" id="imageInput" name="image" accept="image/*" required>
|
||||
<button type="submit">Upload and Format</button>
|
||||
</form>
|
||||
<div class="card">
|
||||
<a id="card" href="#"></a>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<a id="card" style="display: none;">Download Formatted Image</a>
|
||||
|
||||
<div id="preview"></div>
|
||||
-->
|
||||
</div>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user