Changed coding for the image to an image_tag not raw HTML