X
點擊此處開啟此網站的行動版。

技術支援討論區

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?

已張貼

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.
附加的畫面擷圖
引用
cor-el
  • Top 10 Contributor
  • Moderator
17876 個解決方法 161754 個答案

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.

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.
這篇文章有幫助嗎?
引用

提出問題者

https://buyee.jp/mercari/item/m94252944159
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17876 個解決方法 161754 個答案

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".

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". *Open in Browser https://addons.mozilla.org/firefox/addon/open-in-browser/
這篇文章有幫助嗎?
引用

提出問題者

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

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
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17876 個解決方法 161754 個答案

有幫助的回覆

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.

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.
這篇文章有幫助嗎? 1
引用
jscher2000
  • Top 10 Contributor
8963 個解決方法 73445 個答案

有幫助的回覆

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. ??

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. ??
這篇文章有幫助嗎? 1
引用

提出問題者

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

so its a website issue instead of an issue on my end?
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8963 個解決方法 73445 個答案

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.

''TigerMacZ [[#answer-1294181|said]]'' <blockquote> so its a website issue instead of an issue on my end? </blockquote> 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 &lt;img> tag, it's probably an image. But when you fetch the URL "stand-alone", the context is lost.

由 jscher2000 於 修改

這篇文章有幫助嗎? 1
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題