jpeg image downloaded, not displayed




12 years ago
12 years ago


(Reporter: Philipp, Unassigned)


Firefox Tracking Flags

(Not tracked)





12 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv: Gecko/20060426 Firefox/
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv: Gecko/20060426 Firefox/

I presume it is something to do with the funny url and possibly get vs. fetch things, but it would be really nice if Firefox could catch this and display the image.

Safari also has this problem, but Opera gives you the option of Opening instead of Downloading, which requires user intervention each time.

Reproducible: Always

Steps to Reproduce:
1. Click on a thumbnail on the page whose url is given above.

Actual Results:  
Jpeg downloaded

Expected Results:  
Jpeg displayed
The server specifically sets the Content-Disposition header with the value of 'attachment' indicating that they want the file to be downloaded. Changing Firefox to ignore the header and sniff the content instead would only result in trouble.
Last Resolved: 12 years ago
Resolution: --- → INVALID

Comment 2

12 years ago
I don't think you fully appreciate the problem. Depending on how Ff is configured, it will either present a dialogue asking whether to save the picture in an *external application* (whichever is system default for opening jpg, may be Firefox, i.e. it's confusingly equivalent to opening a new window) or it may do this automatically (so suddenly, you've got Preview opening on you, or Adobe Photoshop or...). In either case, you end up with a copy of the image on your download directory, so it's littering your disk in addition to all the other evils. Opera has a solution which I would consider "works for now". Firefox is apparently not smart enough to even *realise* that it would be well capable of opening the file itself. This is doable.
You need to log in before you can comment on or make changes to this bug.