We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently files are unconditionally passed to Resizer.js, leading to bogus error messages, because resizer.loadFile fails:
resizer.loadFile
WCF/wcfsetup/install/files/js/WCF.Attachment.js
Line 339 in 0ae6b18
[WCF.Attachment] Failed to resize image "foo.pdf": error { target: img, isTrusted: true, srcElement: img, currentTarget: img, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
Ideally instead the mime type should be checked to be something resizable and the complete resizing logic skipped if it is not.
see also: #2770
The text was updated successfully, but these errors were encountered:
f993cc8
No branches or pull requests
Currently files are unconditionally passed to Resizer.js, leading to bogus error messages, because
resizer.loadFile
fails:WCF/wcfsetup/install/files/js/WCF.Attachment.js
Line 339 in 0ae6b18
Ideally instead the mime type should be checked to be something resizable and the complete resizing logic skipped if it is not.
see also: #2770
The text was updated successfully, but these errors were encountered: