CarinaPilar
CarinaPilar

Reputation: 1084

How can I save an image to a mobile photo album from a website?

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

Thanks!

Upvotes: 3

Views: 12098

Answers (2)

Morteza Ziyaeimehr
Morteza Ziyaeimehr

Reputation: 2117

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/

Upvotes: 1

CJT3
CJT3

Reputation: 2908

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.

Upvotes: 2

Related Questions