Channel Avatar Generator

Hello

I have created a simple html page with javascript that will generate CustomCSS to give you a custom Avatar on any rocket.chat channel.

I do not see a way to attach a file to share it, but I would love to share this creation with the rocket.chat community as it is quite handy and allows you to easily add a nice custom touch to your server.

Images are resized appropriately with all view modes too.

Is it against the rules to link to a download for this tool?

:grin:

1 Like

Capture-01

Capture-03

Could you provide a link or sample css? I’ve seen a few links to this post from various places so I’m sure users are interested.

1 Like

Much appreciated. I’ll give this a test and report back =)

1 Like

Thanks for the input … it’s very interesting … I’ll try it. regards

Yes. We definitely lack a community CONTRIB or tools repository.

@Game_Over is the source of this hosted somewhere on Github with a read_me.md ?

It’s just a single html file located in that zip file. All the js and css are included in the one file. You can view the source by opening it in a text editor.

Also it should be noted this is not a “proper fix” for avatars, and does not show avatars in the mobile applications.

It is a work around using CSS to hide the actual avatar and replace it’s appearance with another image. It’s basically a CSS “trick” to get the appearance we were looking for. After copy/pasting the CSS over and over again and fixing the text for each of the new channels, I felt it was easier to make something like this to generate the code. Seemed to work pretty well so I wanted to share it so anyone can use it if they like it.

Works exactly as described. Thank you for putting this together.

1 Like

I’m glad you like it :slightly_smiling_face:

1 Like

This should definitely be added to the features list. Well, this and channel groups like Discord has.

Trying this out (snap 3.1 installation) but whatever I enter in Admin => Layout => Custom CSS doesn’t show up anywhere in the site. Am I overlooking something?

Never mind, less-compiler error on old setting

This is super neat. We may end up using this in the future if they decide they are getting sick of the multiple colors of letters that ends up kind of making each channel look the same. :slight_smile: Thanks for this!

The file is gone T_T
Can @Game_Over or anyone share again?

Thanks!

up
can anyone share again?
Thanks! :kissing_heart: