I'm a bit stuck on this. How I could display an image stored in an Appwrite bucket?
The easiest method I've found is by getting it by passing file ID in the URL, but that is not compatible with authentication. Not sure if it's possible sending headers in this case to send the user token.
Display image in a Flutter app
🤔 seems it's possible this way: https://stackoverflow.com/questions/73770036/caching-images-thumbnails-in-listview
Seems not to work
HttpException: Invalid statusCode: 404, uri = http://192.168.1.124/v1/storage/buckets/MainImage/files/fileID/preview?project=6495854a0bc2caf27a72
When printing token, what it gives me is "instace of JWT"
Was not getting Jwt correctly 😵💫
Solved. Now it works correctly thanks to Steven solution
[SOLVED] Display image in a Flutter app
Recommended threads
- how ro resend otp?
As the title says, I'm using email otp to authenticate users, I use createSession to send the first otp, but if the user didn't receive the otp how to send it a...
- How to properly restore an Appwrite back...
I have two separate servers both running Appwrite 1.6.0. I am trying to move all the data from the Appwrite instance running on Server A to the one running on S...
- Issue with File Upload Using REST API
I'm trying to upload files to Appwrite's storage bucket using the REST API, but I keep encountering the following error: ``` { "message": "Param \"fileId\"...