http://stackoverflow.com/questions/20317932/displaying-image-object-from-controller-in-the-browser