Image viewer tweaks

* Made the image viewer ignore generic wiki `File:...` urls since we cannot reliably
derive an image URL locally.
* Display an error message in place of images that failed to load.
* Ad-hoc imgur albums with more than 2 pages are now properly detected.