Animated images: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
mNo edit summary
m (→‎Pausing animated images: added another bug reference)
(25 intermediate revisions by 12 users not shown)
Line 1: Line 1:
To disable animated GIFs and images in Firefox, you will need to edit the the ''' about:config''' file.
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.


As '''jsebrech''' states on a [http://www.mozillazine.org/talkback.html?article=4278 message] (Tuesday February 10th, 2004):
You can change this preference setting using any of the usual methods for [[editing configuration]], specifically:


* Type about:config
===Using about:config===
* Go to image.animation_mode, set the value to "once" or "none".
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''' — will prevent image animation
::'''once''' —  will let the image animate once
::'''normal''' (default) — will allow it to play over and over


As you can probably guess, setting it to "none" will not let any animation occur, and setting it to "once" will let the image animate one time, then stop.
In Thunderbird, use [[about:config]] and filter it for <tt>animation</tt> to find the preference.


'''jsebrech''' also adds:
===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");


:I think it's a good thing this is not in the prefs. Very, very few people want this (certainly not common people), and those that do can always type about:config. There is no need, ever, to edit the prefs.js file, about:config can do it all.
==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]


I strongly disagree.  If I can't disable image animation, I won't use a browser.  The only thing I use animated GIFs for are weather radar loops, so I keep a copy of Internet Explorer to look at those and the odd Flash animation.
==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.


[[User:Anonymouse|Anonymouse]] 14:17, 23 Feb 2004 (PST)
==See also==
* 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