Slack Slash Command - Image Not Unfurling
<p>I have written a custom Slash command that takes in a query from the user and returns an image.</p>

<p>The Server side which receives the Slash command retrieves the query from the user, and forms the Image URL <code>http://example.com/file1.png</code> and it sends back the response as <code>&lt;http://example.com/file1.png&gt;</code>. This is shown as a link in the response and is not unfurled. What could be the problem?</p>

<p>I even tried the following:
1) I sent back a JSON payload as given below:</p>

<pre><code>{
     "text":"http://example.com/file1.gif","unfurl_media":true
}
</code></pre>

<p>But that displayed the link again and did not unfurl it.</p>

<p>2) I tried </p>

<pre><code>{
     "text":"&lt;http://example.com/file1.gif&gt;","unfurl_media":true
}
</code></pre>

<p>But same results.</p>

<p>What could be the problem? Do I absolutely need a incoming webhook integration and send the message there ? </p>