This may sound unusual, but is there a way to change the value/source of an input type File Upload element to upload an image that is already in the DOM?
so I have:
<img src="myimage.jpg">
<input type="file">
I would like a trigger so that the file upload is uploading myimage.jpg which is already in the DOM