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
- Server Error when importing to tables
Same .csv file worked yesterday, Please fix it asap
- Backup does not restore
I need to urgently restore a backup but nothing is happening when trying to restore!
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...