my sample code is <a href="@Html.ActualLink(attachment)" target="_blank" class="icon-download-alt pull-right"></a>
. @Html.ActualLink(attachment)
will have URL something like https://s3.amazonaws.com/79614248baeb/tree-736885-640-3929268565.jpg
. Now this image file is opening in browser but what my requirement is, I need to download this image by clicking on an icon.
I can able to download all other file formats except image formats.