标签: javascript html
<img src="logo.jpg" data-download="logo-high-res.png"/>
当用户在上下文菜单中选择“将图像另存为”时,如何强制下载logo-high-res.png文件而不是logo.jpg?
logo-high-res.png
logo.jpg