Animated images: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Pausing animated images: added another bug reference)
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
In the Location Bar type [[about:config]], then select <code>image.animation_mode</code> and set the value to "once" or "none" or "normal". "none" will not let any animation occur, and setting it to "once" will let the image animate once. "normal" will allow it to play as normal.
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.


In the Location Bar type about:config, then select image.animation_mode and set the value to "once" or "none" or "normal". "none" will not let any animation occur, and setting it to "once" will let the image animate once. "normal" will allow it to play as normal.
You can change this preference setting using any of the usual methods for [[editing configuration]], specifically:


'''Procedure'''
===Using about:config===
In Mozilla Suite and Firefox:
# In the Location Bar type [[about:config]] and hit Enter
# 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:
::'''none''' &mdash; will prevent image animation
::'''once''' &mdash;  will let the image animate once
::'''normal''' (default) &mdash; will allow it to play over and over


# In Firefox's Location Bar type "about:config" and hit Return,
In Thunderbird, use [[about:config]] and filter it for <tt>animation</tt> to find the preference.
# Type "anim" in the Filter field (to show only animation config '''image.animation_mode'''
# Double-click the "once" or "none" or "normal" at end of line, and edit it to one of the following:
:'''none''' -- will prevent image animation
:'''once''' -- will let the image animate once
:'''normal''' -- will allow it to play over and over - ick!


:Hit Return
===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");


Done!
==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==
* [[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