Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

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

详细了解

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

  • 2 个回答
  • 3 人有此问题
  • 3 次查看
  • 最后回复者为 maxhousetrip

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.