
I'm using url to load images in flutter by providing a url and editing the file id. It works fine but it's considered as a guest loading the image. I wanted to know the safety of this method

Safety? It depends on you and the permissions you require

It needs me to set the permissions to any user to load image

The issue is images in pagination need to be catched so that they don't reload when i change state. That's why I'm opting for url

If I use a future to load a uint8list then it will refetch again when I change state by adding data to the list

If you want to make it private, you can still access the files by passing a JWT token. See https://github.com/appwrite/appwrite/discussions/3474#discussioncomment-3108707

Image.network( 'https://{hostname}/v1/storage/buckets/{bucketId}/files/{fileId}/view?project={projectId}', headers: {"x-appwrite-jwt": jwt} )

Like this right.?

Thanks alot

Cab you define dimensions in this url.??

Use the preview API instead

Okay
Recommended threads
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
