Support #469
Large image pasted into ticket fails to save with ticket
Status: | Closed | Start date: | 28 Apr 2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% |
||
Category: | - | |||
Target version: | - |
Description
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 nginx.com I have client_max_body_size 100m;
in Mysql I have max_allowed_packet=32M
Is there anything else I should check?
Thanks.
History
Updated by Gary Mcgrath almost 10 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.
Gary
Updated by Benjamin Bryan almost 10 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 almost 9 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.
Gary