[英]I can not make auto download for this link in html
please help me for make auto download for this link in html: http://s9.picofile.com/file/8316425618/Mobile_14hadis_0043.jpg 请帮助我自动下载html中的此链接: http : //s9.picofile.com/file/8316425618/Mobile_14hadis_0043.jpg
i use (download="") but when click on link open the pictures in the web page. 我使用(download =“”),但是在单击链接时在网页中打开图片。 thanks.
谢谢。
did you try something like: 您是否尝试过类似的方法:
<a href="http://s9.picofile.com/file/8316425618/Mobile_14hadis_0043.jpg" download></a>
you can try to zip it or if your application have a backend you can solve this with a route response option, or maybe add a hint "right click save link as to download the image" 您可以尝试将其压缩,或者如果您的应用程序具有后端,则可以使用路由响应选项解决此问题,或者添加提示“右键单击保存链接以下载图像”
<a href="http://s9.picofile.com/file/8316425618/Mobile_14hadis_0043.jpg" download>Click here to download</a>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.