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
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...