Add way to specify image directory for the image browser

Closes #43