Validate and serve images, template fixed

Validate if there is or isn’t an image for the post.
Function to serve images on /blog/media/Image_ID
Template that show the post fixed.