Skip to content
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

Improve image upload thumbnail generation failure #4454

Closed
ssddanbrown opened this issue Aug 21, 2023 · 1 comment
Closed

Improve image upload thumbnail generation failure #4454

ssddanbrown opened this issue Aug 21, 2023 · 1 comment

Comments

@ssddanbrown
Copy link
Member

Right now massive images can be uploaded but they can fail resizing due to hitting memory limits.
Currently, the original image will remain and cause load failure of the image gallery as it attempts to re-create the thumbnail.
We should:

  • Not allow thumbnail generation to cause the image gallery load to fail.
  • When an image is uploaded with thumbnail error, the image upload action should fail with better error message and the original image should not remain in the system. (Flat out fail to avoid keeping an image that we can't handle and may not be suitable for content).

Opened after discussions in #2920.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant