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
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...
- Storage images using custom domain retur...
Some of the images uploaded to my storage bucket returns this error: ``` { "message": "Project with the requested ID could not be found. Please check the value...
- Bandwidth limit for your organization ha...
I received an alert that I exceeded the Free plan bandwidth limit (showing 5.86 GB), but my dashboard tells a different story. The usage stats there are much lo...