# .Gif files as profile pics?

**URL:** <https://meta.discourse.org/t/gif-files-as-profile-pics/36291>\
**Category:** Support\
**Created:** [2015年十二月3日 16:46 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291 "2015-12-03T16:46:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexBCodecademy](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@AlexBCodecademy](https://meta.discourse.org/u/AlexBCodecademy)\
**Post date:** [2015年十二月3日 16:46 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/1 "2015-12-03T16:46:28Z")

</div>

Does discourse support gifs? Is there anyway to have a GIF as a profile picture?

---

<div class="post-metadata">

**Author:** ![KevinWorkman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevinworkman/32/122364_2.png) [@KevinWorkman](https://meta.discourse.org/u/KevinWorkman)\
**Post date:** [2015年十二月3日 16:57 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/2 "2015-12-03T16:57:40Z")

</div>

Yep, it’s supported. Go to your admin control panel → Settings tab → Files section, and then look for the “allow animated avatars” checkbox.

---

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [2015年十二月3日 17:07 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/3 "2015-12-03T17:07:18Z")

</div>

after doing that, do we need to ./launcher rebuild app ?

---

<div class="post-metadata">

**Author:** ![KevinWorkman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevinworkman/32/122364_2.png) [@KevinWorkman](https://meta.discourse.org/u/KevinWorkman)\
**Post date:** [2015年十二月3日 17:08 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/4 "2015-12-03T17:08:48Z")

</div>

From the settings page:

> WARNING: run the avatars:refresh rake task after changing this setting.

---

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [2015年十二月3日 17:10 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/5 "2015-12-03T17:10:40Z")

</div>

I dunno where and what to do about that, where do i type avatars:refresh rake ?

is it var/discourse/  
or would it be  
./launcher enter app ?

---

<div class="post-metadata">

**Author:** ![KevinWorkman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevinworkman/32/122364_2.png) [@KevinWorkman](https://meta.discourse.org/u/KevinWorkman)\
**Post date:** [2015年十二月3日 17:15 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/6 "2015-12-03T17:15:46Z")

</div>

I’m not really an expert either. I googled “discourse rake task” and got [this discussion](https://meta.discourse.org/t/how-to-run-uploads-migrate-to-new-pattern-rake-task/29083), in which @zogstrip says this is how to run a rake task:

```
# ssh into server
cd /var/discourse
./launcher enter app
rake uploads:migrate_to_new_pattern

```

I presume that you would simply change that last line to `rake avatars:refresh`.

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2015年十二月3日 17:18 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/7 "2015-12-03T17:18:20Z")

</div>

> [@KevinWorkman](#):
>
> I presume that you would simply change that last line to “`rake avatars:refresh`”.

Your presumptions are 👍

---

<div class="post-metadata">

**Author:** ![AlexBCodecademy](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@AlexBCodecademy](https://meta.discourse.org/u/AlexBCodecademy)\
**Post date:** [2015年十二月4日 20:18 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/8 "2015-12-04T20:18:28Z")

</div>

Thanks everyone!!

Best,  
AlexB

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2019年一月23日 07:35 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/18 "2019-01-23T07:35:07Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2019年二月22日 07:35 UTC](https://meta.discourse.org/t/gif-files-as-profile-pics/36291/19 "2019-02-22T07:35:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
