Make download dialog show up for pictures in IIS 6.0

Posted by LinuxGnut on Server Fault See other posts from Server Fault or by LinuxGnut
Published on 2010-05-04T13:15:11Z Indexed on 2010/05/04 13:19 UTC
Read the original article Hit count: 221

Filed under:
|
|

I have a client that is offering picture downloads from their site. They want the user to have to download the picture, rather than having it appear in the browser when the link is clicked.

Inserting the text "Right-click to save as" or something similar isn't an option with this client, as everything needs to be done their way. Now, I know I could accomplish this task in PHP or ASP, but I'd rather not have to write an addition to Magento to accomplish this.

So is there a way in IIS 6.0 (Server 2003) to send the correct headers for image formats in that it will make a download dialog pop up?

© Server Fault or respective owner

Related posts about iis

Related posts about iis6