Connect Jira Software with slack

I’d like to display a certain image on slack when an issue is in Done status.
I can set a trigger and send a message, but I can’t get the image to display.
I’m rewriting the index.jsx file in the src directory.