-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Image picker broken after uploading image with large resolution #2562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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. |
Are there any good solutions to this? |
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


Your Configuration (please complete the following information):
Additional context
I attach image that can help reproduce this issue.
bigimage
The text was updated successfully, but these errors were encountered: