
So Im trying to get an image preview out of a bucket. im using a nextjs api to provide file data to my frontend, including a preview url. from other posts I gathered that i need to "construct" the url myself which i did and that worked ("endpoint/storage/buckets/[id]/files/[id]/preview?project=[id]"). my issue now is that the image tag in my component cant get the preview because it returns with 401. im kinda idea-less on how to work around this / fix this in a proper way.
Recommended threads
- How can I resolve this:
"Error: Invalid Origin. Register your new client (site-to-temp-url.com) as a new Web platform on your project console dashboard" The message is vague, and coul...
- Unable to access images from custom doma...
Set up a custom domain because of third party cookie issues from using front end for vercel and back end is appwrite. using for the app. Set up the custom dom...
- unable to retrieve
When I'm trying to retrieve the image from the bucket, it shows the alt text instead of the image in my frontend. One month, it's worked well, but now it's not ...
