hello i am making An application throw ionium template I want to add a contact form to the app
which is include uploading a photo from camera or gallery
and the form to be sent to my email
or saved in any backend
please help with details I am new in Ionic
thx in advance
well 1st is you need to know how to create rest api to handle your request and http request to communicate your app to the backend. 2nd is Camera Plugin by Cordova to pick or capture images from camera or gallery.3rd is FileTransfer plugin for uploading images to your backend
1 Like
use Camera plugin [ http://ngcordova.com/docs/plugins/camera/] get base 64 image data put in in JSON array and send it to your server using http request
1 Like