title: How to get Base 64 string instead of imageURI in Phonegap while selecting image from Photo library
body: <p>i am currently using below function to get image from photo library </p>
  
  <pre><code>function getImage() {
      // Retrieve image file location from specified source
      navigator.camera.getPicture(updatePhoto, function(message) {
                                  alert('get picture failed');
                                  },{
                                  quality: 50,
                                  destinationType: navigator.camera.DestinationType.FILE_URI,
                                  sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY
                                  }
                                  );
  
  }
  
  function updatePhoto(imageURI) {
  
      //console.log(imageURI);
  
  }
  </code></pre>
  
  <p>But now i want base64 string not image URL !</p>
  
  <p>How to do this ?</p>