How to upload images to an external collection?

Hi, I’ve searched the forum and some people seem to have got it but I don’t understand.

I’m using an external collection, when I add a Custom Action I’m not sure what to put in the Body or Inputs so users can upload images to my external collection.

Can someone please tell me what I can put there to get it working or what I can do?

The image picker doesn’t seem to have a URL you can just use the file picker does so I really don’t understand what to do.

1 Like

Hi - it did not work for me as well but the hack I found is a bit complex - not sure if a better solution exists

  1. temporary create a picture in adalo colection
  2. upload url of this pic from adalo collection to your backend (in my case I needed a fuction to make a picture out of URL - function to add picture metadata so it recognizes it as a picture) - it is the case of xano
  3. delete a picture in adalo collection
2 Likes

Hi Lukasz! Thanks a lot for your reply.

what I don’t understand is how to get the URL of the picture?
So my user clicks submit button to upload the picture - then picture is added to Adalo collection - now how do I get the URL to automatically go to Xano? Did you mean I need a function to make a URL out of the picture automatically?

Can you please be more detailed step by step how to do this exactly? I really don’t understand what to do once the picture is in Adalo’s collection. Thank you so much

Basically the url is stored in your collection directly

Thank you but how do I get the URL? I can’t find it. I clicked on API documentation but also didn’t see it there :frowning:

Sorry my bad I saw the view button just now! But I really don’t know how to make a function to add picture metadata . I’m using Xano too

Please can you make a video to showcase how you exactly did it? Thank you

Hi @adalapp,

This video https://youtu.be/dwPrLafnTCQ could be useful for you. It doesn’t directly answer your question, but may provide some food for thought and ideas.

To process the images (or files) further, you need to use some 3rd party service. It could be Xano, or Integromat, or other.

Best,
Victor.

Thank you Victor for the video, that’s a great workaround, but Adalo really needs to fix this issue. I need to display the photos straight to my user, not require them to upload a it through the File picker and then display it as list :frowning: Do you think Adalo can fix it?

1 Like
  1. Create Adalo collection
  2. Add image picker
  3. As a button action add:
  • create record with image in Adalo colection from picker
  • customer action to call xano api (post from adalo collection
  • delete the record in Adalo for scability
  1. Input field in Xano needs to filter to picture metadata from file

User see this directly

4 Likes

Thank you so much for your reply! I managed to get it working. Really appreciate your help :blush:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.