I have an image gallery on a IIS7 server. I would like to have a button to force download the currently visible image.
Maybe something like setting an url parameter: http://website.com/images/img.jpg?download
Globally detect this parameter and then set the Content-Disposition header to attachment.
My question is, how would I do that? Can I set it in the web.config file somehow?
I'm more of a frontend guy.