Converting links to images to inline display

I’d like to convert links posted to images/gifs automatically to display inline.
I tried to accomplish this with the autolink plugin:

{
"Pattern": "(?P<imagelink>http.*\\.(gif|jpg))",
"Template": "![embedded image](${imagelink})"
}

but it does not work… Did I miss something?

Hi @rezeptpflichtig,

Would you be open to opening this in the autolink Github repo: https://github.com/mattermost/mattermost-plugin-autolink/issues? It’s also possible that this is a feature that is not yet supported in the autolink plugin.

1 Like

okay, it works perfectly, this is a server side setting, I edited the config json of my client not on the server.