Image picker for desktop platform


#1

Is there any image picker plugin that I can use with desktop platform? How can I pick images from browser using Ionic?


#2

Using <input type="file"/> would be a nice idea. Check this W3Schools docs about file uploading.

https://www.w3schools.com/jsref/dom_obj_fileupload.asp

But maybe something like ng-file-upload could be better for you. There is a bunch of Angular libs for this purposes.

Which version of Ionic are you using?


#3

Thank you for your help @jsalvador! I’ll give ng-file-upload a try. I am using ionic 3.


#4

If you’re using Ionic 3, then you must use an Angular2 lib.

Try this instead of ng-file-upload. I guess it will works fine.


#5

Ok! Thank you! I’ll let you know if ng-file-upload works for me!