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
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...