Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

When i view image i get a pop up with application/octet-stream asknig for a program to open with it. any idea how to fix this?

more options

When i click view image on some webpages, i have a pop up dialogue with application/octet-stream and asking me for a program to open with.

this has only started happening recently, anyone got any suggestions on how to fix this i tried a fire fox refresh and a clean install but nothings helping.

When i click view image on some webpages, i have a pop up dialogue with application/octet-stream and asking me for a program to open with. this has only started happening recently, anyone got any suggestions on how to fix this i tried a fire fox refresh and a clean install but nothings helping.
已附加屏幕截图

所有回复 (8)

more options

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required) ?

"application/octet-stream" is a generic content type that will always trigger a download dialog.

Do you get a working image if you give the file a .jpg file extension ?

Windows doesn't know what to do with the file without a valid file extension. You would normally download and save the file.

more options

Yes, when I try to view the image in a tab then I get the download dialog because the image is send as "application/octet-stream". I can save the image to the hard drive (Save Image As) and that gives the file a proper image file extension (.jpeg).

You can use an extension like this to have the option to open the file as an image in a Firefox tab (for a new tab: middle-click View Image in the context menu). Make sure to select "Open in browser as: image".

more options

but the thing is before it would jsut open the jpg image but it was only recently it started doing that.

but then again before i have having issues where firefox was having mime filetype issues with jpegs

more options

It is possible that the server has changed ans previously didn't send the image as "application/octet-stream", but send it as an image type (image/jpeg). You can possibly contact the website and ask them about this.

more options

I think this is caused by the file name not having the .jpg file extension on it where it is stored on the server. When there is no file extension, the server falls back to a generic Content-Type. I don't know why some of the site's listings have images without a file extension. ??

more options

so its a website issue instead of an issue on my end?

more options

TigerMacZ said

so its a website issue instead of an issue on my end?

I think so. The file is named 1ad7a9 so neither the website nor Firefox knows it's an image file. In the context of the page, Firefox seems to trust that if the server sent this to display in an <img> tag, it's probably an image. But when you fetch the URL "stand-alone", the context is lost.

由jscher2000 - Support Volunteer于修改