Slack API allows to set and icon like so:

"icon_url": "https://slack.com/img/icons/app-57.png",

This would be a nice and fast to add.

- Set Default icon in the settings page
(Extra: possibilty to choose site favicon)

- Possibility to set custom icon when configuring rules

https://api.slack.com/incoming-webhooks

Right now slack api allows to put any external URL, but I think I had some problems without .png / .jpg / ... file extensions

Comments

  • hxdef committed 20f9226 on 7.x-1.x
    Issue #2449517: Add an option for setting and icon
    
Serge_Konst’s picture

Hi thanks for request!
Adding an emoji/icon support it's great idea. We've done this in the dev-version. Now you can add the image or the slack emoji like the slack bot icon on the config page.

The 'rules' page doesn't support an icon/emoji. However we plan to add it in the next update.

In the icon path input you can write link to the image without an image extension. This should work.

vulfox’s picture

Awesome!

  • hxdef committed 20f9226 on 8.x-1.x
    Issue #2449517: Add an option for setting and icon
    
Anonymous’s picture

Status: Active » Closed (fixed)
Anonymous’s picture