搜尋 Mozilla 技術支援網站

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

了解更多

Can't view image url on Firefox which I can on Chrome

more options

I am trying to copy a set of images which have urls such as the below:

http://www.halldis.com/resources/apt_resource_1564_1272014118921.1

These images display fine on Chrome, but not on Firefox, where I get a lot of funny characters.

The website is a third party website, and while they are letting us copy the images, I am not able to ask them to fix the problem.

I am trying to copy a set of images which have urls such as the below: http://www.halldis.com/resources/apt_resource_1564_1272014118921.1 These images display fine on Chrome, but not on Firefox, where I get a lot of funny characters. The website is a third party website, and while they are letting us copy the images, I am not able to ask them to fix the problem.

被選擇的解決方法

The servers sends the file as text/plain because it has a .1 file extension and not a recognized file extension like .jpg
It is always best to avoid problems like that and rename the file by adding .jpg


You can paste this in the location bar to see the image in this case

data:text/html,<img src="http://www.halldis.com/resources/apt_resource_1564_1272014118921.1">
從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

The servers sends the file as text/plain because it has a .1 file extension and not a recognized file extension like .jpg
It is always best to avoid problems like that and rename the file by adding .jpg


You can paste this in the location bar to see the image in this case

data:text/html,<img src="http://www.halldis.com/resources/apt_resource_1564_1272014118921.1">
more options

Thank you very much for the workaround, much appreciated.