Drag and Drop Files to a Webviewer

Personally, I wouldn't bother.

Just use an input file tag to open a file picker, then display/capture the file that way. (you would need webviewextra to do this.)

or do more work in AppInventor, and less work on the web page: