download image html code example
Example 1: html download link
<a href="the/name/of/your/file.x" download>
Example 2: how to upload image in html
<form action="/action_page.php">
<label for="img">Select image:</label>
<input type="file" id="img" name="img" accept="image/*">
<input type="submit">
</form>