We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

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

详细了解

Some images and websites cant open. Firefox ask to save the file.

  • 7 个回答
  • 12 人有此问题
  • 4 次查看
  • 最后回复者为 Morbus

more options

Well... This is a problem I have had for some time now.. This needs to be fixed. Images doesn't open in firefox. When I click on some images, firefox ask me to save the file or open it in windows. Check here: http://www.fredricz.com/graphics/graphic24.php

Can't open them in firefox. Opera, Safari and Chrome can!

And can't open this website: http://blog.fredricz.com/ Firefox wants to save the index.php file! Why?! Opera, Safari and Chrome can open the website http://blog.fredricz.com/


Thanks. Fredric Melchersson

URL of affected sites

http://blog.fredricz.com/

Well... This is a problem I have had for some time now.. This needs to be fixed. Images doesn't open in firefox. When I click on some images, firefox ask me to save the file or open it in windows. Check here: http://www.fredricz.com/graphics/graphic24.php Can't open them in firefox. Opera, Safari and Chrome can! And can't open this website: http://blog.fredricz.com/ Firefox wants to save the index.php file! Why?! Opera, Safari and Chrome can open the website http://blog.fredricz.com/ Thanks. Fredric Melchersson == URL of affected sites == http://blog.fredricz.com/

所有回复 (7)

more options

Hello Frederic.

Yes, this is by design. This happens because Firefox respects the site's (actually, the server's) request that the images be loaded from an external program. Apparently other browsers don't respect that request.

It is an annoyance, yes, but you should ask the site's webmaster to stop that behavior in their site. That's what I do, personally.

more options

So how does he solv this? I got this on my website too..

more options

Adding to Morbus's response about MIME types.

More information in the following: http://support.mozilla.com/gl/forum/1/12611 (read all responses in the thread)

This one is a bit technical, but goes into more detail about Morbus's response: http://kb.mozillazine.org/File_types_and_download_actions#File_handling_in_Firefox_3_and_SeaMonkey_2 (scroll down to the section "Firefox Displays Wrong - Browser ABC Displays Correctly")


Other Issues: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~

Update Java: your ver. 1.6.0.15; current ver. 1.6.0.20 (important security update 04-15-2010) (Firefox 3.6 and above requires Java 1.6.0.10 or higher; see: http://support.mozilla.com/en-US/kb/Java-related+issues#Java_does_not_work_in_Firefox_3_6 ) (Windows users: Do the manual update; very easy.) ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/ See: Updating Java Do the update with Firefox closed.

Install/Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox): your ver. 9.3.2; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html) ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/ See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader You may be able to update from the Adobe Reader installed on your system instead of going to the Adobe site and downloading. Start > Program Files, find and click Adobe Reader to open, click Help, click Check for Updates. If you go to the Adobe site to download the current Adobe Reader: -use Firefox to download and SAVE to your hard drive (save to Desktop for easy access) ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~ -exit Firefox (File > Exit) -check to see that Firefox is completely closed (Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window) -double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader

more options

The image files are send as content type application/octet-stream Firefox will always offer to save images as that content type.

more options

Yes, but I want my visitors to be able to open the pictures in the browser..

more options

You can only do that if the server sends an image as an image type (e.g. image/jpeg or image/png) and not as application/octet-stream Then users can right-click and use "Save Link as" to save the images.

more options

Solved it.

.htaccess-file:


  1. ForceType application/octet-stream



Changed it to:


ForceType application/octet-stream