title: cordova image reference content:/// and file:///
body: <p>I am developing an image upload module using cordova. I also need the reference to the image.
  I tried 2 different plugins. Here are the issues I face. </p>
  
  <ol>
  <li><p><a href="https://github.com/don/cordova-filechooser" rel="nofollow">https://github.com/don/cordova-filechooser</a> - I am able to choose the gallery and perform image upload, but it does not appear to return the correct url. It returns content:///…/some_id and I am not able to upload this file to the server</p></li>
  <li><p>With plugin <a href="https://github.com/wymsee/cordova-imagePicker" rel="nofollow">https://github.com/wymsee/cordova-imagePicker</a>, I am also able to open the gallery and upload images, but the actual file is returned, file:///.../file_name.jpg, which can be uploaded to the server. I need to be able to reference the file.
  Would appreciate if someone would provide the right pointers to solve the issues above. What am I doing wrong? Which one of these 2 plugins is prefered</p></li>
  </ol>