The user was having trouble combining the Sveltekit FileDropzone component from '@skeletonlabs/skeleton' with Appwrite for image uploads. However, they solved the issue by using the `uploadArticleImage` function and passing the file to the `createFile` function. They were struggling to get the file path initially but managed to resolve it.
Camo
23 May, 2023, 16:23
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..
Drake
23 May, 2023, 17:46
Have you tried passing the file to the create function?