Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have recently been testing a website and found animated gif images that seem to show fine in IE and Firefox but in Google Chrome they only show briefly and then dissapear! This happens if I view the image on the page or view the file directly.

Are there any reported problems in displaying GIFs in Chrome, or is it just being fussy? There seemed to have been some problems in older versions of Chrome, but it's hard to believe something as simple as this wouldn't have been fixed by now.

The version of Google Chrome I am using is: 4.1.249.1021

Not sure if this is relevant, but some info about the image:

Width: 216 pixels
Height: 36 pixels
Horizontal resolution: 96dpi
Vertical resolution: 96dpi
Bit Depth: 32
Frame Count: 3

EDIT: Seems to be a problem relating to the latest beta version of Chrome, as it works fine in 4.0.249

share|improve this question
1  
I have noticed that some animated gifs play very slowly, but I don't remember the Chrome version at the moment. –  mmyers Mar 12 '10 at 22:18

4 Answers 4

Animated GIFS have been a back and forth issue with Chrome (quick dev ticket and Chrome group search shows issues). Currently, Version 6.0.401.1 of the Dev handles most GIFs as ChrisF stated - no repeat unless repeat is specified in the GIF. This is technically the correct way to handle animated GIFs but is typically not the expected way.

You can see many of the bugfixes and updates at the Chrome releases blog and you may want to give a Beta or Dev version of Chrome a try just for comparison. There is a newer version of Chrome stable than the one you have stated so you may even want to try that (but I didn't notice anything about GIF image handling in the release notes).

Animated GIFs really are the love 'em/hate 'em files of the internet. The fact that you have only 3 frames makes me think it is rocketing through those 3 frames and ending - it may not be reading the hold or pause settings you have indicated in the file.

share|improve this answer

Specifically set the loop to forever (with Fireworks instead of Photoshop). Then it will work.

Otherwise, I've observed that:

  • Chrome version 21.0.1180.79 m ← Doesn't work
  • Chrome version 24.0.1275.0 canary ← Works
  • IE, Mozilla work
share|improve this answer
    
Hi Duarte, sorry for the confusion. Your answer, before you added the last sentence, didn't really answer the question. I've rearranged things a little so it's easier to parse. Welcome to Super User! –  slhck Oct 17 '12 at 11:03

Have you set the gif to auto repeat?

It could be that IE and Firefox just assume that if the value isn't specified it should be treated as auto repeat "on", while Chrome assumes that the default is auto repeat "off".

share|improve this answer
1  
Yes the GIF image is set to auto repeat, and the image dissapears in Google Chrome within a fraction of a second - the image should take several seconds to repeat fully. –  user30852 Mar 11 '10 at 10:49

This probably won't help as I guess you're using the Windows version but on the Mac (5.0.307.11) version, (just checked) they work fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.