Are animated GIFs supported in Google Chrome?

1

1

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

user30852

Posted 2010-03-11T10:34:39.710

Reputation:

1I have noticed that some animated gifs play very slowly, but I don't remember the Chrome version at the moment. – mmyers – 2010-03-12T22:18:56.813

Answers

2

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.

Insomnic

Posted 2010-03-11T10:34:39.710

Reputation: 756

2

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

JDuarteDJ

Posted 2010-03-11T10:34:39.710

Reputation: 178

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 – 2012-10-17T11:03:20.423

1

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".

ChrisF

Posted 2010-03-11T10:34:39.710

Reputation: 39 650

1Yes 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. – None – 2010-03-11T10:49:38.583

0

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.

Smalltown2k

Posted 2010-03-11T10:34:39.710

Reputation: 150