Open antontkv opened 3 years ago
I tested this on the demo, gave me a 502
I get the same issue on Bookstack 0.29.3 with a 7047x4888 image.
Just been testing this. This will be due to thumbnail system needing a lot of resources to process the image. If you max the system resources your php process will be killed and you'll get an error.
It'll generally be due to memory availability. This is where a bit of swap space can help if possible in your environment.
I'm also having this issue with a 32MB map I'm trying to upload which is admittedly absolutely massive.
Describe the bug After uploading image with high resolution, 10425x8499 in my case. There is 500 error after upload and image picker breaks. It always shows loading animation. I can fix that by deleting uploaded image from
uploads/images/gallery
. My guess that bookstack can't create thumbnail of the image, because there is no new image inthumbs-150-150
directory.Steps To Reproduce Steps to reproduce the behavior:
Screenshots
![image](https://user-images.githubusercontent.com/17809291/107910156-9ec05f00-6f7b-11eb-8659-1122ac9c81b9.png)
Your Configuration (please complete the following information):
Additional context I attach image that can help reproduce this issue. bigimage