>>/814512/
Type "about:config" in the address bar.
Click "I accept the risk!" when it comes up.
Find "image.animation" using the search box (just type "anim")
Double-click "image.animation_mode."
In the next box, type ether "once," so the animated GIFs only get one chance to play, or "none" so they never can.