Support #469

Large image pasted into ticket fails to save with ticket

Added by Benjamin Bryan over 4 years ago. Updated over 3 years ago.

Status:Closed Start date:28 Apr 2015
Priority:Normal Due date:
Assignee:Gary Mcgrath % Done:


Target version:-


When creating a new ticket and pasting an image in, if the image is large, for example, 3840x1080, the image silently fails to get added to the ticket. I don't see anything indicating an error in the logs.

If pasting a small image in, say something around 800x600 works okay.

in php.ini I have upload_max_filesize = 100M and post_max_size = 100M
in I have client_max_body_size 100m;
in Mysql I have max_allowed_packet=32M

Is there anything else I should check?



Updated by Gary Mcgrath over 4 years ago

  • Status changed from New to In Progress

I would imagine the issue here is actually the php memory limit is being hit on a large image. You might have to increase the amount of memory assigned to php, as it has to load the ticket post contents into memory to parse it, and if its too large, PHP will be dying.


Updated by Benjamin Bryan over 4 years ago

Thanks Gary. The only other place I could think of to check was php-fpm, so I set php_admin_value[memory_limit] to 1024M. Are there any other places you can think of to increase the php memory limit?

I should also note that I can attach a 70MB file to the ticket without issue. I just can't paste in a large image that would be about 2-3MB in size.

Updated by Gary Mcgrath over 3 years ago

  • Status changed from In Progress to Closed

Just wanted to update that the new editor now uploads images to your server, so this will hopefully be fixed.


Also available in: Atom PDF