单击图像时,该图像在另一个选项卡中打开
<a href="~/images/ProofPics/@idproofrow.ItemArray.GetValue(i + 2)" title="Download Image" style="text-decoration:underline;"><i class="fa fa-download" aria-hidden="true"></i> Image Download</a>
You can use download
attribute in your <a>
tag.
<a href="/image.jpg" download>Download</a>
Though keep in mind that this only support the modern browsers . You can check this link for the supported browsers available
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.