In the recent past, I wrote a jQuery plugin that will allow you to do something like this. I cannot post the code, but I can describe how it works. If that doesn't make sense, let me know how long ago it was.
A set of upload form elements has appeared. When the file was selected, it would send a hidden iFrame whose contents (via base64) were copied to the hidden form field. Then, when the final form is submitted, the contents of the hidden form fields are used to obtain information about the file.
Eric
Errick t
source share