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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- Appwrite for Education
I am writing to report an issue with my account limits. I currently have the GitHub Student Developer Pack active, which should include 10 Appwrite Pro projects...
- How to stop my project from being frozen...
So we encountered an error in production because our appwrite project had been frozen due to inactivity. Is there any way of automating checking in and activity