Skip to main content
← Data, API & Backend
Data, API & Backend September 17, 2021 · 8 replies

Download photos

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hi! It is possible to download a photo from the ap. Ex. The app having a GET request showing a list os photos and users can download them. Is this posdible?
Thanks for the help in advanve.
Regsrds
Valter

8 replies

Karla September 17, 2021

Sure, you can use share that allows you to share it or save on your phone.

Valter September 17, 2021

Hi Karla! Thanks for the reply.
I tried use the tags  [action:share] and  [action:download] but with no success! When tried the share it would open the share native dialog but blanck and when try the download it will show an error message "Invalid URL:"!
Dont know what i'm doing wrong! Im placing the tags on a frame (not top one) with no [container] and this frame is the one that have inside the image the is connected to airtable.
I tried a lot of diferent variations, and as last resource i´m here. Can you help me on this one?

Karla September 17, 2021

Have you checked the same file that has those? It shouldn’t display an error :/

Valter September 17, 2021

Guess for sure! My structure is the folowing:

  ▼  #Main frame [refresh:always]
        ▼  #List [container]
                ➧  #Foto Right
               ▼  #Foto Left [action:download] 
                      ☒ "image
                T  Title

Javier Felipe Bravo team September 17, 2021

Hey , did you bind the download action to a URL coming from the API?

Valter September 17, 2021

Hi Javier! Thanks for the help. No, did not try that.. guess was not thinking rigth  : ) 
Can you tell me if it is a GET request link from airtable that I have to bind?
Thznks
Valter

Karla September 17, 2021

it should always be the URL of the image you want to download m, the action will come from the table that you read on that frame ;-)

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord