Hi i have a long time problem. I create the files (images) into bucket, img is sent from client -> server, where is saved. But problem is that i cant set the type of file i am saving. It always saves it like plain/text (so it is Base64 in text).
I send 2imgs - code - result in cloud
are you passing in base64 encoded text?
yes i am
well then it's plain/text...if you want it to be picked up as an image, it needs to be in image
So i assume if you base64 decode it, you'll have the actual image bytes? store that instead
could you please help me how to do it?
I solved it, thank you for everything. (i used node-base64-image)
[SOLVED] set the file type in bucket
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here π I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.