I added
code
if(value)
return value;
/code
Before trying to save to database in the cordova request service. Now the photo taken from the camera is able to save to the database, but the photo taken from the gallery will not save. I notice camera photos ends with .png, gallery photos ends with .png?modifed like xxxx.png?modifed12234243232. I tried editing the JavaScript that came with the plugin to strip the 'modifedxxx' text from the end so it can read the image type and then save the complete fileUri. Still does not work. Can someone please help???