搜尋 Mozilla 技術支援網站

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

了解更多

I uploaded a jpeg to a website but when I try to download it, Firefox thinks it's a document. Safari and Chrome know it's an image.

  • 1 回覆
  • 1 有這個問題
  • 13 次檢視
  • 最近回覆由 cor-el

more options

I uploaded some jpegs to a website (EuphoricFX.org) but one of them refuses to download correctly. Firefox thinks it's a document when it's a jpeg (the file name is correct). Everything else on the site downloads correctly.

The weird thing is Chrome and Safari treat the image as a jpeg. Only Firefox doesn't.

I uploaded some jpegs to a website (EuphoricFX.org) but one of them refuses to download correctly. Firefox thinks it's a document when it's a jpeg (the file name is correct). Everything else on the site downloads correctly. The weird thing is Chrome and Safari treat the image as a jpeg. Only Firefox doesn't.

所有回覆 (1)

more options

That is likely a problem with the server configuration that doesn't recognize the .jpeg file extension and thus sends it as text/plain and this will make Firefox display the image as text in as tab.

Easiest is probably to change the file extension of the images to .jpg

See also: