Hello, I'm creating a website with flutter and I know i can getFilePreview and convert the uint8List etc.. but it's a lot more work than just providing a link like Image.newtwork('https://website.com/v1/storage/buckets/web_images/files/xxxx/view?project=myproject'
This works when I run the web app in VS Code/chrome but when I compile for web and upload to my server I'm getting a cors error like the image attached. The weird thing is? I don't get the cors error on Mobile Web because the image is loading. Any help appreciated. Thanks.
I think that the images being load through fetch or something. Can you share the generated HTML
Sorry No html with Flutter Web its all JavaScript
Sure. Can you share the code where you implemented it
Did you add a flutter web platform to your project?
That was the issue, I thought I did but it was missing. All good now. Thanks. Mark as solved. lol
[SOLVED] Is it possible to use a storage link for website image?
Recommended threads
- Storage files aren’t showing on mobile
hi, what can be the problem? i have a storage and there are images in it, the permissions are read for All Users, everything is fine on desktop, but on mobile t...
- Delete storage files all at once
I am using Appwrite Cloud. I want to delete all storage files in my bucket similar to how I can select all documents in a collection and delete them all at once...
- Storage images are not showing on mobile
Hi, can anyone help me? I have some images on the storage, and it is not shown on mobile, on desktop everything is fine.