Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

When accessing api from browser I see uploaded images with sizes and all, but when using fetch no

default discord avatar
oronoa2 years ago
2

Why is that? I see only the image id but not the different image sizes and actual file locaiton



Also in postman I see only the image ids not the actual fields for each image upload

  • default discord avatar
    iamroot2 years ago

    can you show an example of both requests?



    i.e what its returning

  • default discord avatar
    oronoa2 years ago

    Sorry, I found the problem, it was the media collection access control, on the browser I was with the admin cookie , in the fetching from the app no. Change the access control on the media collection and it was sorted

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.