Hello. I installed a graphic editor on my site, and when I insert an image and save it, all data is encoded in base64 and sent to the database. The problem is to display images later. Text displays, but not all the images. I noticed that it does not display only large images. What could be the problem?
Here is the output code:
strip_tags(html_entity_decode($text, ENT_QUOTES, 'UTF-8'), '<img><a><b><i><u><ul><li><ol><span><div><br><p>') The $text variable contains text and images.
Perhaps it is worth some kind of data limit that is transmitted? I deduce the whole thing with Ajax.
LONGTEXTinstead ofTEXT. Or better still store pictures in files! - Crantisz