This is what happened when I clicked on a photo in a blog I read:
Now, you may be thinking that IE is doing something weird. But actually, IE is behaving exactly as it should. It's the server that's at fault:
HTTP/1.1 200 OK Access-Control-Allow-Origin: * Cache-Control: public,max-age=49317 Content-Disposition: attachment;filename=p.txt Content-Type: image/jpeg; charset=UTF-8 Date: Sat, 09 Feb 2013 22:09:45 GMT Expires: Sun, 10 Feb 2013 11:51:42 GMT Via: HTTP/1.1 GWA X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Content-Length: 781118 X-Frame-Options: SAMEORIGIN Server: GSE
Why yes, the server is telling the browser that it should save (not display) the image, and that the preferred filename is "p.txt". Glorious, isn't it?