How do I open my attachments?

How do I open image file attachments within Mozilla?

  • Mozilla has problems for me opening image files sent as attachments in Yahoo mail. When I try to just open the file - a jpg - Mozilla opens a blank browser window, then a dialogue box saying "Mozilla doesn't know how to handle this file" and asks me to choose "open with default program" "open with... (choose)" or "save to disk." But it's a jpg! Shouldn't it just open it like every other jpg it encounters? I tried deleting the listing under "helper apps" under preferences and starting over, but I still get the same thing. Only seems to happen with jpgs sent as attachments in Yahoo mail. Any ideas how to get it to just open the file without an extra blank window and extra steps?

  • Answer:

    What does the dialog say the content-type reported by the server is? Mozilla will take the webserver at its word if it is reporting the content-type wrong (i.e. not image/jpeg).

dnash at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

This is Yahoo's fault. When clicking on the JPEG attachment (or any attachment), the response's "Content-Disposition" HTTP header forces Mozilla (or Firefox, or IE -- it happens in all browsers) to download the file rather than just display it. I just sent a test JPEG to my Yahoo account. The MIME type is correct (image/jpeg). I don't have a packet sniffer installed so I'm not sure what the HTTP headers say exactly, but my money is on "Content-Disposition: attachment."

zsazsa

Weird. I just fired up ethereal to check zsazsa's idea, but I can't replicate the problem with a test account I just created at Yahoo.

thebabelfish

The dialogue box says "The site has suggested that (filename) be handled as an attachment. It is of type image/jpg and is located at... " I hadn't noticed it saying it that way before. I think maybe that changed when I deleted the "helper applications" preference for jpg's so it could re-establish a new preference for that.

dnash

zsazsa: this is OT, but wouldn't the http://texturizer.net/firefox/extensions/#livehttpheaders plugin let you see the headers w/o a sniffer?

turbodog

The problem seems to be intermittent. I can sometimes simply view the image, other times open it through that torturous method. Suggestion? Click the image, not the filename. That seems to work better for me.

joeclark

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.