Firepup6500 / discourse-animated-avatars

A plugin to add gif avatars in Discourse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discourse-animated-avatars

Adds the ability for users to upload gif avatars which will animate on hover or selection in posts, user cards, and profile pages

Enable gif resizing

Optionally, your app.yml may be configured to install gifsicle in addition to the plugin.

This allows gif uploads to be cropped and resized to fit a square avatar. If the dependency is not included, gif uploads will keep the original aspect ratio.

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/discourse-animated-avatars.git
    - exec:
        cd: $home/plugins/discourse-animated-avatars
        raise_on_fail: false
        cmd:
          - $home/plugins/discourse-animated-avatars/scripts/install.sh

About

A plugin to add gif avatars in Discourse

License:MIT License


Languages

Language:JavaScript 96.1%Language:Ruby 3.5%Language:Handlebars 0.3%Language:Shell 0.1%