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
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Storage Chunk upload bug
Hi, I'm experiencing an issue with Appwrite Storage chunked uploads. Small files upload successfully, but larger video files that require chunking fail. For ...