[SOLVED] Sveltekit FileDropzone from '@skeletonlabs/skeleton' image upload to appwrite.
- 0
- Web
- Storage
Has anyone used this component, https://www.skeleton.dev/components/file-dropzone and combined it with Appwrite? I can't seem to be able to get it working.
after dragging image to the component, i can get let files: FileList; files[0].name, but that doesn't give me much.. Don't understand how to get the path so i can upload the file..
Have you tried passing the file to the create function?
Yes that worked, js
uploadArticleImage: async (file: any) => {
return await storage.createFile('images', ID.unique(), file);
},
[SOLVED] Sveltekit FileDropzone from '@skeletonlabs/skeleton' image upload to appwrite.
Recommended threads
- The /storage web page is not working in ...
The /storage web page is not working in Appwrite. Server : FRA
- Github Student Plan showing as free plan
In my Github student plan it showing as basic plan instead of pro plan. Till few hours back it worked ok, but now showing errors and couldn't use any pro featur...
- 404 page not found
Hey I am trying to run a simple Svelte-kit project on appwrite self-hosted but the logs says: ```bash [13:56:26] [open-runtimes] Build packaging finished. [13:...