Add initialize method to js for posts model. Change image tag in post view.