I have CCK and image field working flawlessly, but when I try to upload an animated gif, it’s not playing, but just showing a single still picture. Obviously the thumbnail has to be a still picture (as it is) but when the animated gif is clicked, the animation should play in the lightbox2. Is there a field type or a fix for image field that allow this feature?

Here is a link to 4 gif's I inserted. None of them are playing when clicked.

http://tyndfed.dk/node/41

Any help would be much apreciated.

Comments

koldtoft’s picture

Adding...

In addition, the file that is uploaded is not animated even if I just load it in the browser... (it is animated before upload when playing from hard disk)

http://tyndfed.dk/sites/default/files/imagecache/normal/[uid]/1286793604... (this is the link i get from rightclicking the file on lightbox2)

koldtoft’s picture

I have just discoverd that when I upload a file, it is put on the server..

http://tyndfed.dk/sites/default/files/1286355929868.gif

But that is not the file Lightbox2 links to. (it links to http://tyndfed.dk/sites/default/files/imagecache/normal/1286355929868.gif)

koldtoft’s picture

Assigned: Unassigned » koldtoft
Status: Active » Fixed

I solved it :)

It was ImageCache rescaling the images to "normal" 800x600 and thus linking to a non animated version of the gif.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jianbo1988’s picture

I face the same problem, actually drupal automatically compress the animated gif image after you uploaded, so the image you see is not the original gif.

I just try to find how to close or modify this function. but i didn't get that?

Some one can help me?

jianbo1988’s picture

Could you tell me How did you solved that?
I face the same problem that my website can't show animated image

VM’s picture

Assigned: koldtoft » Unassigned
Category: feature » support

check your field settings ensure no alteration upon upload. Avoid passing through image styles.

capysara’s picture

Issue summary: View changes

Thanks! #3 is still helpful years later, and this was one of the first results in my search. My image field allowed .gif files but I was only getting a still image. I was adding the gif to an existing media field, which was applying styling. I added a separate media field just for gifs and it animated as expected.