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
- Errore 403
Ho errore 403 ma il package name รจ corretto
- Cannot create sites using Flutter framew...
Cannot goto next step, it shows error "missing buildRuntime". I need to select "other" framework then deploys fail, go back to site settings and change "other" ...
- Appwrite mariadb container suddenly usin...
I'm hosting an instance of appwrite since months and updated to 1.8.0 couple of weeks ago. Everything worked fine, but today I noticed that my server is lagging...