How can I get the multiple files' urls?

I am trying to get the multiple files url but it does not work. I made it work with the field which is single file or image but with multiple it is not working.

I tested the url from cover_image and it works but the url generated from gallery does not. Data in gallery and cover_image are in the same directory.

2 Answers

2

The images that your looping over (the second map) are likely the m2m records.

Add galery.* to your request fields and use the uid that it will hold. (Probably inside dirrctus_files_id)

I will try your suggestions

It works. I appreciate your help. Thank you so much!