为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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.