我已经意识到有很多方法可以将文件保存在计算机或服务器的根目录上进行下载,但是我找不到如何对Google相册中的特定图像进行处理的方法。
<div class="the-content">
<p><img class="b-lazy" id="portrait" src="https://image from google photos" align="" width="300" height="103000" alt="about">
<a href="https://photos.google.com/SAME IMAGE FROM GOOGLE PHOTOS ALBUM">
<button>GET</button>
答案 0 :(得分:1)
使用a
元素的download
属性应该可以满足您的要求。
<a href="https://google.com/image/image.jpg" download>Download image.jpg</a>
or
<a href="https://google.com/image/image.jpg" download="rooster.jpg">Download image.jpg with the name rooster.jpg</a>