We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改