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
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- `project_id_missing` in Cloud Function w...
I've got a cloud function written in `Dart-3.12` that I'm trying to create a file in a file bucket. I'm using the latest `dart_appwrite` sdk (`26.1.0`) and App...
- Batch Size of Bulk Operations
Is there any way to increase the Batch Size of Bulk Operations on Appwrite Self Hosted? When I try to perform more than 100 operations per batch, I get the foll...