In my blog application, I have a form for adding posts to the database. The form contains a Quill text editor. The editor content is saved in a string attribute called 'body'. The size of the body attribute is set to 1000000.
This works fine - all the text formatting works. Unfortunately, if I add an image to the editor I get this error - "PayloadTooLargeError: request entity too large".
I know that there is a section in the docs called Storage. I have not read that yet, but I will.
However, my question is, is it actually possible to drop images into an editor and them save into the database?
Thanks.
You should not be storing images in database. You should use the storage service
Recommended threads
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...