fix bug 886017 - Show image previews

https://bugzilla.mozilla.org/show_bug.cgi?id=886017

Only added the image types for now, and we can add more as requested.  Since I'm building the content for imagery, I used |safe as I felt it reasonable.