Force PNG to download instead of opening in browser with IIS

iis, png

Solution

All solutions I have tried make it so that it'll download in other browsers except IE. IE is trying to be "helpful" and decides what it thinks would best server the client, in this case is display the png file in the browser.

There is always the programatic way of doing this as been pointed out. But I wasn't looking to go that route.

In the end I individually zipped up the 67 PNG files and linked to those. It's not pretty but it works.

Thanks all for the help.

Problem

I need to be able to have a subdirectory of images all PNG's to be downloaded instead of opened in the browser window. I am using IIS for the web server. Is there a way to force a PNG to be downloadable?

Original source