javascript - How can I save an image to a mobile photo album from a website? - Stack Overflow

I'm creating a web mobile app with jQuery, javascript and HTML. My app generates an image (img HTM

I'm creating a web mobile app with jQuery, javascript and HTML. My app generates an image (img HTML ponent) and I want to save it on the mobile device's photo album. Is that possible?

Thanks!

I'm creating a web mobile app with jQuery, javascript and HTML. My app generates an image (img HTML ponent) and I want to save it on the mobile device's photo album. Is that possible?

Thanks!

Share Improve this question asked Sep 16, 2013 at 1:14 CarinaPilarCarinaPilar 1,0843 gold badges14 silver badges20 bronze badges 1
  • Think it's successfully answered here: stackoverflow./questions/7951326/… – Anja Commented Mar 12, 2016 at 15:03
Add a ment  | 

2 Answers 2

Reset to default 2

The user would have to save the image themselves. (i.e. in iOS, hold down on the image until they get the save to camera roll button). There is no way for a webapp to save images programmatically.

Web Share API level 2 is required for this. Not available in iOS 14, and is available in Chrome Android/Windows right now.

https://web.dev/web-share/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744286905a4566842.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信