I have a Rails website, and the following script is for showing an image on the page. The image has a link which links to the image's path:
<%= if property.images[0] then link_to image_tag (property.images[0].image.url('550x412', :jpg)), user_property_image_path(user, :id => property.images[0], roperty_id => property) end -%>
I would like to delete the link to the image; I just want it to show the photo without a link.