I have a `NetworkImageView` which loads its content from a URL, but in a specific case I also want to be able to load an image from the user's Gallery (or even capture one with the camera).

I'm using [Image Chooser Library](https://github.com/coomar2841/image-chooser-library) to load the image from the gallery, and after choosing, it allows me to get the file path of the image. This path is something like `/mnt/sdcard/bimagechooser/IMG_20140811_155007906.jpg`

If I try to load the image directly from this path, Volley will raise an exception stating:

> 
> NetworkDispatcher.run: Unhandled exception java.lang.RuntimeException: Bad URL `/mnt/sdcard/bimagechooser/IMG_20140811_155007906.jpg`
> 
> 
> 

I also tried setting the drawable:

```
Drawable newImage = Drawable.createFromPath(imagePath);
mNetworkImageView.setImageDrawable(newImage);

```

Nothing happens when these lines run, the view remains empty/unchanged.

What is the correct way to set the `NetworkImageView` content without a URL?