How to add a link to an image in a view I have a view that is showing a single image, and I need the image to link to a specific URL, but when I try using Rewrite Results on the field it will still show the image but doesn't add the link.

I have tried both "Rewrite the output of this field" putting in &lt;a href="http://example.com"&gt;[field_file]&lt;/a&gt; and "Output this field as a link" putting http://example.com in the field and neither of those ways worked.

How can I rewrite the field to have the link on the image?
You can use the image url formatter module to output the path to the image.  Then do like you tried before to Rewrite Results and add the markup.  

&lt;a href="http://www.example.com"&gt;&lt;img src="[field_file]" /&gt;&lt;/a&gt;