99
Views
7
Comments
Save an image to device storage that will show up in the gallery/photos app
Question

This is for a mobile app. I need to save an image/binary to the internal storage of the device then the image has to show up in the default gallery or photos app of the device upon saving.

  • The File plugin can only save in the application sandbox area of the internal storage, so it won't show up in the gallery/photos app.
  • The Save to Gallery plugin no longer works in the latest version of android and iOS.

I've been scouring the forge asset list for anything that could do this, but I can't find any. I thought this was a simple functionality since most apps out there could easily do this. The usual problems I encounter has to do with security or permissions and not being able to access the root Download or Pictures folder. I also played around using javascript code, but I can't get anything to work.

Please help, I'm stuck. 😓

UserImage.jpg
Sudarshan HD

Hi

please check with the bellow forge component

https://www.outsystems.com/forge/component-overview/3707/save-to-gallery

Hope It will helpful

Thanks 

Sudarshan HD

2025-10-21 04-03-24
DaVince

Thanks for the reply but

The Save to Gallery plugin no longer works in the latest version of android and iOS. 

2025-09-04 06-33-37
Nikhil___Vijay

Hello DaVince

You can use this Forge component to download binary data and convert it into an image that is viewable in the mobile gallery.

https://www.outsystems.com/forge/component-overview/16040/download-file

Regards 

Nikhil kumar vijay

2025-10-21 04-03-24
DaVince

Hi Nikss,

Thank you. This almost does the job, it's just that this just opens up the native file save dialog. For Android, this is fine. But for iOS, any saved image, even saved locally, still won't show up in the photos app.

Most mobile apps today just allows you to save the image (directly accessible to the gallery/photos) with no additional prompts/steps.

2025-09-04 06-33-37
Nikhil___Vijay


If you are using an iOS device, you can save an image to your gallery by manually saving it. After downloading the image, make sure to save it to your device's gallery. On the other hand, if you are using an Android device, the image will automatically be saved to your device's gallery.

2023-09-04 11-46-32
Shubham Kanaujiya

thanks @Nikss 

 it is usefull .

2025-10-21 04-03-24
DaVince


On iOS, there is only the option to save in iCloud drive, On My iPhone, and Downloads. Saving an image in any of these will still not show up in the Photos app.

Unless OutSystems implements integration with PhotoKit, I guess I'm out of luck.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.