Some images and websites cant open. Firefox ask to save the file.
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
تمام جوابات (7)
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.
So how does he solv this? I got this on my website too..
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
- NOTE: On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
- NOTE for IE: Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer. See: ActiveX
- Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:AND~~ How do I edit options to add Adobe to the list of allowed sites
The image files are send as content type application/octet-stream Firefox will always offer to save images as that content type.
- Open in Browser: https://addons.mozilla.org/firefox/addon/8207
Yes, but I want my visitors to be able to open the pictures in the browser..
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.
Solved it.
.htaccess-file:
- ForceType application/octet-stream
Changed it to:
ForceType application/octet-stream