Added ability to preview local png,jpg and gif images.

I added the ability to preview relatively referenced images (png, jpg, and gif).  There was a regex condition that would display an image referenced from the root of github, but I wanted to also display images will relative links which as I understand is also supported by github.