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
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...