hello, there is ajax form, and in it is an input for the picture:
<input id="postimage" type="file" accept="image/*" onchange="load_preview(this, 'post');" name="postimage" style="display: none;"> then the image is transmitted in base64 format and saved using file_put_contents.
but what if when loading gif images an error occurs 413 Request Entity Too Large