added media url to template to display images
added photo to the post model