Page 1 of 1

upload file with Angularjs and store in localStorage

Posted: Mon Mar 26, 2018 8:52 pm
by Bernie

I want to upload a file and store it in a local storage variable.
I used the example in https://codepen.io/anon/pen/rdYLOZ?ed..., but can't figure out where I can harvest the file and how to convert that in a base64 image variable.

How do I need to set up a html control in Appery.io to get the script to work?

Any help is highly appreciated.


upload file with Angularjs and store in localStorage

Posted: Tue Mar 27, 2018 2:12 pm
by Serhii Kulibaba

Hello Bernie,

Please use the plugin "File Upload App" (Create new - From Plugin - "File Upload App")

https://docs.appery.io/reference#data...