Please use the 👍 reaction to show that you are interested into the same feature.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
When receiving files via a link and opening it on a browser on mobile (iOS Safari in my case), I’d like to be able to save files in original quality to my camera roll easily.
Right now I have to tap on:
Tap Download File
Show
Long tap the shown image to activate the context menu
Tap save to gallery
Most users do not know of this workaround as it is rather unintuitive.
Probably, they would rather use the download button and then be confused that the images are saved to the download directory when they actually want them in the gallery.
Describe the solution you'd like
Modern browsers natively support sharing files via the native share menu via JavaScript. I’d like to have a button or context menu to share the image in high quality via the share menu. In the share menu there is an option to save to the gallery:
Tap Share
Tap Save Image to Gallery
This would be especially helpful when saving multiple images or all images:
Mark all
Tap Share
Tap Save Image to Gallery
If you do not want to add another button, for media files the Download button could activate the share menu instead of downloading directly as it includes an entry „Save to files“ and „Save to gallery“.
Beware that AFAIK the files are loaded into RAM when using the share menu which could crash the page if not done right. Maybe an upper file size would work.
Although it’s prefer this to be natively supported, I guess someone could also write a plugin for that functionality.
As a starting point I‘d use this:
https://github.com/major-mayer/imageconverter
How to use GitHub
Is your feature request related to a problem? Please describe. When receiving files via a link and opening it on a browser on mobile (iOS Safari in my case), I’d like to be able to save files in original quality to my camera roll easily. Right now I have to tap on:
Download File
Show
save to gallery
Most users do not know of this workaround as it is rather unintuitive. Probably, they would rather use the download button and then be confused that the images are saved to the download directory when they actually want them in the gallery.
Describe the solution you'd like Modern browsers natively support sharing files via the native share menu via JavaScript. I’d like to have a button or context menu to share the image in high quality via the share menu. In the share menu there is an option to save to the gallery:
Share
Save Image to Gallery
This would be especially helpful when saving multiple images or all images:
Share
Save Image to Gallery
If you do not want to add another button, for media files the Download button could activate the share menu instead of downloading directly as it includes an entry „Save to files“ and „Save to gallery“.
Documentation: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
Example (tap
Share Image
button): https://benkaiser.github.io/web-share-images/?ref=benkaiser.dev#/imageAdditional Context
Beware that AFAIK the files are loaded into RAM when using the share menu which could crash the page if not done right. Maybe an upper file size would work.