Display error when image loading fails.

Image viewer displays error message when an image fails to load.
Fixed the imgur module not detecting ad-hoc albums with more than 2 images.