Fix preview and keep uploaded filename

This commit is contained in:
2024-08-21 23:44:00 -04:00
parent b5aa8cd2cc
commit b37592e57e
2 changed files with 10 additions and 3 deletions

View File

@@ -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>