This is part of the browser api. Read a file directly into your browser and upload it to view.
> git clone
> cd readfile_browser_api
FileReader API
Download Image file to browser
View image in browser
Practical example
Commented code for reference