Image link not to download the image
How to make an image link not to download the image but to show it on the browser? If you go to twitter and click on a user's photo it will redirect you to the photo and it seems to be a simple link.
In my case-Google Chrome and firefox are downloading the image. Is this has to do with the IIS or just the browsers?
Any ideas?
Exam开发者_如何学Gople:
<a href="http://photos.wadja.com/845_763686_t.jpg" target="_blank"><img src="http://photos.wadja.com/845_763686_t.jpg" id="profile_pic" width="72" height="72" class="cursor"></a>
Forced downloads are caused by HTTP response codes. for example if you have Content-Disposition header set it will force download.
You have to check the settings in your IIS.
精彩评论