Updated Post.php

Fixed the getImage method of the Post model to append the html
attributes and a closing bracket to the image tag