I have an IMG loaded inside the HTML document, and I would like to upload it using the "file" field from a form. The form is in the same document, so I shouldn't have any security issues.
Is it possible to upload the image to a server?
I managed to upload images choosing a file from my hard drive, but I have no clue about doing it using the IMG inside the HTML document.