Hi,
I’m struggling with something that should be quite easy. I want to display an image list on my app of images stored in a xano database. I have created an API in xano that gets all the fields from the table I need and I’ve filtered it to just return the URLs of the images as I believe that is what adalo requires to display an image.
I’ve also followed the advice on the adalo documentation about creating a single image and turning that into a list, rather than using the image list component.
Nothing seems to work. So I’d really appreciate some help.
This is how an Adalo image stored as an object in Xano will display.
I know you are storing the image in Xano, so does yours look like this back in Adalo? Task_evidence> url
Could be to do with how Adalo read the external collection when it was first setup. If there were no URL present it doesn’t know there is an object in the field.
What kind of field is task_evidence? You could have your function stack return a flat field of *task_evidence_url: “https://etc…” Or let’s focus on it being read into Adalo properly.
Whenever setting up an external collection or refreshing one, make sure that all the fields have some dummy data in so that Adalo sets all the field types correctly.
I think I’ve got it set up right - see above
task_evidence is an image field in my xano database
At the moment the first two returns are null values (so wondered if that was affecting things somehow), but I am getting two proper responses back when I test the API
Yep as you say, it seems correct. But I think you are missing an ID field. You’ll need an integer ID field for it to work. Normally at the top, maybe yours is out of view,