Uploading animated gif to user card - No Animation

I am on the most recent update v1.4.0.beta11 +172. I have seen a few forums including Meta that allows animated Gifs in the user card. I attempted to upload several different GIFs as a user card background, but they all come in as still images. Is there anything special i need to do? i even played around with these settings to no avail:
download remote images to local
create thumbnails
allow animated avatars
allow animated thumbnails

nothing seemed to fix the issue. Any ideas?

إعجاب واحد (1)

Have you tried uploading another GIF?

yeah i have tried about 5 different GIFS, uploading before and after these options were enabled. nothing really helped.

I just uploaded a GIF here and it did the same thing. No animation. This is the origional GIF

Can you leave “allow_animated_avatars” enabled and upload a GIF you have never uploaded yet?

Avatar would just be your little round icon. I havent tried that yet, but i am mainly talking about user card. I will give it another shot with a smaller gif and that option on.

No, do a normal sized one, but make it a different file. Any edit will do.

After the image is uploaded, i check it out and i can find the URL path to the image that was just recently uploaded and not showing animation. This is the link to the most recent image i uploaded. It is no longer animated:
http://discuss.hackforla.org/uploads/default/original/1X/6b4e975132a7aab3fb9034198985c6db0ac8fe26.gif

Discourse is definitely removing the animation factor of these GIF images I am uploading.
The only option on the “Files” tab that is different from the default is: allow animated avatars. and this is set to allow (checked).

The same thing is happening here on Meta. I uploaded a GIF to my user card. after checking the link to where that GIF goes, it is just a still image.

As @zogstrip said:

Can you leave “allow_animated_avatars” enabled and upload a GIF you have never uploaded yet?

yes i just did that. it is still coming in as a still image. no love. Does “allow_animated_avatars” also allow gifs for user card backgrounds and profile backgrounds?

Did you upload a different animated image ?

Yup, just downloaded a random waterfall gif and tried to use that. no love. still a “still” image when uploaded as my user card background.

Even the user icon avatar as an animated GIF does not work.

Possible there was a regression here @zogstrip?

your the one responsible for my obsession for a GIF user background @codinghorror ! haha

إعجاب واحد (1)

Bump… I am also not able to get animated user cards and profile pictures to work.

Can we see if we can fix this before release @zogstrip? At least when animated stuff Is allowed in site settings?

إعجاب واحد (1)

Yes, I will have a look first thing :fr: Monday morning.

إعجابَين (2)

Here’s the fix :crocodile:

https://github.com/discourse/discourse/commit/a3831a700341c9b6d6031e204920d1f915828655

Was because the tempfile path we get from Rails was not including the extension of the filename and thus disabling all GIF support when optimizing the images.

4 إعجابات