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
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...