搜索 | 用户支持

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

详细了解

How can I configure that clicking on a link to a jpg file with MIME Type JPEG Image simply results in the image being displayed in FF ?

  • 5 个回答
  • 18 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

When I click on the link to http://www.vienna.at/resource.aspx/ResourceID/news-20080805-01032166-image (found in the page http://forum.openstreetmap.org/viewtopic.php?id=1777), I get the dialog "What should FF do with this file", where I can select to open a new FF or to save the file, but are unable to make the image simply being displayed like other links to other images. I don't know where the difference to regular image links is.

When I click on the link to http://www.vienna.at/resource.aspx/ResourceID/news-20080805-01032166-image (found in the page http://forum.openstreetmap.org/viewtopic.php?id=1777), I get the dialog "What should FF do with this file", where I can select to open a new FF or to save the file, but are unable to make the image simply being displayed like other links to other images. I don't know where the difference to regular image links is.

由jj-ff于修改

被采纳的解决方案

所有回复 (5)

more options

Web servers can send an instruction before sending the image (a Content-Disposition header) indicating that the image should be displayed inline (in which case Firefox shows it in a tab) or should be treated as a download. I don't think Firefox has a built-in way to disregard this instruction, but there might be an add-on that lets you change this behavior.

more options

Yes, after installing LiveHTTPHeaders I can see the server sends "Content-Disposition: attachment; filename=...". Maybe sometime someone writes an extension that is able to suppress that header - I haven't found one. Thank you.

more options

选择的解决方案

more options

That's it ! Thank you for the solution.

more options

You're welcome