Ionic Desktop App - Picture Upload


#1

I want to build my first Desktop Web Application with Ionic2.
And now I want to upload a picture, preview it and then upload to my API.
The question is: What’s the best way to do so?
Is it with a input type=“file” the best way to do or are there better possibilities?

If someone have done it, please give me some advice


#2

This works for me:


#3

Thanks for sharing.
I’ve already got my solution. With input type=file and base64