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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...