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

Notify user if file is bigger than upload_max_filesize #53

Open
jfauske opened this issue Oct 9, 2019 · 0 comments
Open

Notify user if file is bigger than upload_max_filesize #53

jfauske opened this issue Oct 9, 2019 · 0 comments

Comments

@jfauske
Copy link
Contributor

jfauske commented Oct 9, 2019

If a user try to upload an image bigger than upload_max_filesize we get an error from Cloudinary, the xhr request returns a 500 and the UI become unresponsive to the user:
[2019-10-09 10:31:57] request.CRITICAL: Uncaught PHP Exception Cloudinary\Error: "Nothing to load" at vendor/cloudinary/cloudinary_php/src/Uploader.php line 514 {"exception":"[object] (Cloudinary\\Error(code: 400): Nothing to load at vendor/cloudinary/cloudinary_php/src/Uploader.php:514)"} []

Let the user know that the file they are trying to upoad is too big and can not be processed.

Version 1.0.13-aplha

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

No branches or pull requests

1 participant