In a support thread titled ‘Uploading animated gif to user card - No Animation’, user Basanoviat reported that animated GIFs uploaded as user card backgrounds or avatars were appearing as static images on Discourse v1.4.0.beta11. Despite enabling allow_animated_avatars and allow_animated_thumbnails, the animation was lost. Multiple users, including zogstrip and sam, suggested testing with fresh files, but the issue persisted across various GIFs and even on the Meta forum.
codinghorror and Un3qual confirmed the regression, noting that animated profiles were not working. zogstrip investigated and identified the root cause: a commit had inadvertently disabled GIF support because the temporary file path from Rails lacked the file extension during image optimization. He provided a fix commit a3831a7 and instructed users tracking the tests-passed branch to run /admin/upgrade after the build passes. Users not on that branch were advised to wait for the next official release.
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
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.
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.
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?
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.