.Gif files as profile pics?


(Codecademy ) #1

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


#2

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


(@SenpaiMass) #3

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


#4

From the settings page:

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


GIF Avatars: how to do "avatars:refresh rake task"
(@SenpaiMass) #5

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 ?


#6

I’m not really an expert either. I googled “discourse rake task” and got this discussion, 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.


GIF Avatars: how to do "avatars:refresh rake task"
(Régis Hanol) #7

Your presumptions are :+1:


(Codecademy ) #8

Thanks everyone!!

Best,
AlexB


#9

How do you get to admin control panel?


(cpradio) #10

Be an admin and then click the Hamburger menu and click the Admin link.


#12

What if you’re not an admin?


(cpradio) #13

Then politely ask the admin of your forum if they would consider enabling it, but there is a good chance they have it disabled for a reason.


#14

Okay, I’ll ask Liza! Thank you!