Images or animations do not load: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Related bug: Replaced "Related Bug" and bug 287571 link with "See also" heading and link to Permissions.default.image article which includes it.)
(→‎Images don't load: added adv JavaScript "Change images/ dom.disable_image_src_set fix)
Line 14: Line 14:
* The site hosting the images may be down or experiencing difficulties, try loading the site from another computer or browser to see if this is the case.
* The site hosting the images may be down or experiencing difficulties, try loading the site from another computer or browser to see if this is the case.
* Make sure that images from specific sites are not blocked.  In Firefox, look under "[[Menu differences in Windows, Linux, and Mac|Tools -> Options]]  -> Content (Web features in 1.0.x) -> Load Images" [Exceptions].  In Mozilla Suite, look under  "Edit -> Preferences -> Privacy & Security -> Images -> Manage Image Permissions".    Remove  any culprits and press "OK".
* Make sure that images from specific sites are not blocked.  In Firefox, look under "[[Menu differences in Windows, Linux, and Mac|Tools -> Options]]  -> Content (Web features in 1.0.x) -> Load Images" [Exceptions].  In Mozilla Suite, look under  "Edit -> Preferences -> Privacy & Security -> Images -> Manage Image Permissions".    Remove  any culprits and press "OK".
*If images such as google maps don't work properly, in Firefox 1.0.x or Mozilla Suite go to your  [[JavaScript#Advanced JavaScript settings | advanced JavaScript settings]] and make sure "Change Images" is enabled.  This option was removed in Firefox 1.5 [https://bugzilla.mozilla.org/show_bug.cgi?id=239438] so you'll need to type [[about:config]] in the address bar and check the list to verify that the related preference ''dom.disable_image_src_set'' is set to "false".  If it isn't,  context-click (right-click) the preference name and select "reset", or double-click to toggle.
* Some image references contain backslashes (e.g. <tt>something.com\blah.jpg</tt>), which cause the images to be loaded in Internet Explorer but not other browsers. If you see the image's URL contains a backslash, contact the webmaster about the issue. The [http://gemal.dk/mozilla/slashy.html Slashy] extension will let you work around this problem.
* Some image references contain backslashes (e.g. <tt>something.com\blah.jpg</tt>), which cause the images to be loaded in Internet Explorer but not other browsers. If you see the image's URL contains a backslash, contact the webmaster about the issue. The [http://gemal.dk/mozilla/slashy.html Slashy] extension will let you work around this problem.
* As a security precaution, references to images on your local computer from a remote web site are disabled. If you encounter this restriction and you understand the security implications, you can [[Links to local pages don't work | disable this security measure]].
* As a security precaution, references to images on your local computer from a remote web site are disabled. If you encounter this restriction and you understand the security implications, you can [[Links to local pages don't work | disable this security measure]].

Revision as of 01:39, 11 July 2006

This article is about problems loading images (PNG, JPG, or GIF) or animations. It does not cover problems with video or plugins such as Macromedia Flash. Those can be found in Video or audio doesn't play.

First steps

  1. Run your browser through this diagnostic which tests for the most common configuration problems.
  2. If you are using anything to block ads (e.g Adblock, a hosts file, or security software), disable it.
  3. If you have enabled network.http.pipelining (a "tweak" designed to improve page loading time), disable it in about:config by typing "pipelining" in the filter and right-clicking all entries and choosing Reset. (If you set this preference by editing the "user.js" file, remove this edit.) Some websites do not support pipelining, which may result in images not being sent.
  4. Clear your cache and cookies in Firefox "Tools -> Options -> Privacy" (under "Cache" and "Cookies" ) or in Mozilla Suite preferences (under "Advanced -> Cache" and "Privacy & Security -> Cookies -> Cookie Manager").

If none of these helped, try the rest of the solutions in this article.

Images don't load

  • The site hosting the images may be down or experiencing difficulties, try loading the site from another computer or browser to see if this is the case.
  • Make sure that images from specific sites are not blocked. In Firefox, look under "Tools -> Options -> Content (Web features in 1.0.x) -> Load Images" [Exceptions]. In Mozilla Suite, look under "Edit -> Preferences -> Privacy & Security -> Images -> Manage Image Permissions". Remove any culprits and press "OK".
  • If images such as google maps don't work properly, in Firefox 1.0.x or Mozilla Suite go to your advanced JavaScript settings and make sure "Change Images" is enabled. This option was removed in Firefox 1.5 [1] so you'll need to type about:config in the address bar and check the list to verify that the related preference dom.disable_image_src_set is set to "false". If it isn't, context-click (right-click) the preference name and select "reset", or double-click to toggle.
  • Some image references contain backslashes (e.g. something.com\blah.jpg), which cause the images to be loaded in Internet Explorer but not other browsers. If you see the image's URL contains a backslash, contact the webmaster about the issue. The Slashy extension will let you work around this problem.
  • As a security precaution, references to images on your local computer from a remote web site are disabled. If you encounter this restriction and you understand the security implications, you can disable this security measure.
  • Many of the solutions in Error loading some websites and Websites randomly don't load will also fix image loading problems.

Security Software

Some security software may block certain images by identifying them as "web bugs". If you are using ZoneAlarm or eTrust from Computer Associates, do this to correct the problem:

  1. Open the Firewall Control Center.
  2. Select "Privacy" on the left tabs.
  3. Select "Custom" in the Cookie Control section.
  4. Un-check the box for "Disable web bugs" in the "3rd Party Cookies" section.

Images load, but look wrong

  • If the colors appear wrong, try the solutions in Website colors are wrong.
  • If you are using any sort of web accelerator software, disable it and see if images load properly.
  • If the image is very large, Firefox by default will resize it to fit inside the browser window. If you prefer to see the image full size you can either click on the image to resize it, or go into "Tools -> Options -> Advanced -> General" and un-check "Resize large images to fit in the browser window"
  • If you are using the Image Zoom extension, go to "View -> Image Zoom -> 100% (Original Size)". Additional support for Image Zoom

Images load as text (gibberish)

See Page displays as gibberish.

Images still don't load correctly

If you have tried all of the solutions in this article and images or animations still don't load correctly, there are several possible solutions elsewhere:

See also