
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
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
- list() is very slow; eventually shows no...
When I use the web browser to view the collections in my database, the documents they contain are normally displayed within a few seconds. For a few days now, h...
