Animated images: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(user.js pref)
m (→‎Pausing animated images: added another bug reference)
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Animated images are often annoying. You can turn them off in Mozilla Suite and Firefox, using the following procedure:
You can change image animation behaviour in the following ways:
==Image animation preference==
The '''image.animation_mode''' preference determines how multi-frame GIF images are animated. This preference settings affects GIFs in every kind of displayed content, including web pages, messages and RSS feeds.
 
You can change this preference setting using any of the usual methods for [[editing configuration]], specifically:
 
===Using about:config===
In Mozilla Suite and Firefox:
# In the Location Bar type [[about:config]] and hit Enter
# In the Location Bar type [[about:config]] and hit Enter
# Type "anim" in the Filter field (to quickly find the needed preference)
# Type "anim" in the Filter field (to quickly find the needed preference)
# Double-click the '''image.animation_mode''' line and edit it to one of the following:
# Double-click the '''image.animation_mode''' line and edit it to one of the following:
::'''none''' — will prevent image animation
::'''none''' — will prevent image animation
::'''once''' — will let the image animate once
::'''once''' — will let the image animate once
::'''normal''' — will allow it to play over and over
::'''normal''' (default) — will allow it to play over and over
 
In Thunderbird, use [[about:config]] and filter it for <tt>animation</tt> to find the preference.


Alternatively, you can edit your [[user.js file]] to set this preference. For instance, to prevent image animation, insert the following into your user.js file:
===Using user.js===
You can edit your [[user.js file]] to set this preference. For instance, to prevent image animation in Thunderbird, insert the following into the user.js file in your Thunderbird [[profile folder]]:
  user_pref("image.animation_mode", "none");
  user_pref("image.animation_mode", "none");
==Pausing animated images==
Pressing the "Esc" key on Windows (other OS may be different) will pause animated images on the current website.  Note: Starting in Firefox 20, this is no longer the case due to the fix for [https://bugzilla.mozilla.org/show_bug.cgi?id=614304 bug 614304] unless resolved in an upcoming patch (see [https://bugzilla.mozilla.org/show_bug.cgi?id=614304#c45 comment 45]).  The [https://addons.mozilla.org/firefox/addon/superstop/ SuperStop add-on] by Gavin Sharp is an alternate solution.  [https://bugzilla.mozilla.org/show_bug.cgi?id=825486#c3] [https://bugzilla.mozilla.org/show_bug.cgi?id=824248#c4]
==Security software==
The following programs have options that can turn off animation on your system:
*Norton Internet Security
*ZoneAlarm Pro
*eTrust Firewall
This feature must be turned on or off from inside the aforementioned programs, not in Firefox, Mozilla Suite, or Thunderbird.


==See also==
==See also==
* Other [[about:config entries]].
* Other [[about:config entries]]
* [[Images or animations do not load]]
 
[[Category:Configuration]]
[[Category:Websites]]
[[Category:Configuration (Thunderbird)]]

Revision as of 11:42, 5 January 2013

You can change image animation behaviour in the following ways:

Image animation preference

The image.animation_mode preference determines how multi-frame GIF images are animated. This preference settings affects GIFs in every kind of displayed content, including web pages, messages and RSS feeds.

You can change this preference setting using any of the usual methods for editing configuration, specifically:

Using about:config

In Mozilla Suite and Firefox:

  1. In the Location Bar type about:config and hit Enter
  2. Type "anim" in the Filter field (to quickly find the needed preference)
  3. Double-click the image.animation_mode line and edit it to one of the following:
none — will prevent image animation
once — will let the image animate once
normal (default) — will allow it to play over and over

In Thunderbird, use about:config and filter it for animation to find the preference.

Using user.js

You can edit your user.js file to set this preference. For instance, to prevent image animation in Thunderbird, insert the following into the user.js file in your Thunderbird profile folder:

user_pref("image.animation_mode", "none");

Pausing animated images

Pressing the "Esc" key on Windows (other OS may be different) will pause animated images on the current website. Note: Starting in Firefox 20, this is no longer the case due to the fix for bug 614304 unless resolved in an upcoming patch (see comment 45). The SuperStop add-on by Gavin Sharp is an alternate solution. [1] [2]

Security software

The following programs have options that can turn off animation on your system:

  • Norton Internet Security
  • ZoneAlarm Pro
  • eTrust Firewall

This feature must be turned on or off from inside the aforementioned programs, not in Firefox, Mozilla Suite, or Thunderbird.

See also