Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My browsers (Chrome, IE both exhibit this behavior), when faced with an href link that points to a .jpg file, downloads it rather than displays it. I think perhaps something happened with file associations or MIME types, but nothing I mess with seems to fix the problem. Something simple like this:

<a href="">image.jpg</a>

will download. Not sure what happened, and no idea how to fix it.

share|improve this question

migrated from Apr 12 '13 at 1:05

This question came from our site for professional and enthusiast programmers.

Unless your question about properly returning images from your site it does not look like programming question... – Alexei Levenkov Apr 11 '13 at 4:39
What program are .jpg/.jpeg files associated with now? – cpt_fink Apr 12 '13 at 1:26

You must log in to answer this question.