Doesn't Show photos

    function(buffer) {
      console.log("buffer called");
      var file = new db.File({name:pic, data: buffer, type: 'blob'});
      file.upload().then(function(fl) {
      }, function(error) {

Photos are getting uploaded well, but when I want load the Photos, not appearing on the screen.
and throwing this error:
ImageSource error: 'BundleFileImageSource-failed-conversion', Am I doing it wrong?

Hi seddiq,

it’s hard to tell much about what might be wrong from just the snippet above. Could you instead provide a complete, minimal reproduction that could be copy-pasted and run for testing?