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

If a photo is too large to upload, tell the user the server's effective filesize limit #950

Merged
merged 1 commit into from Sep 7, 2023

Conversation

jefft
Copy link
Contributor

@jefft jefft commented Sep 6, 2023

If a user tries to set a person or family photo to an image larger than PHP's upload_max_filesize or post_max_size setting, Jethro complains, but doesn't tell the user what the maximum size limit is:

image

With this patch, the maximum size is reported in the error message:

image

@tbar0970 tbar0970 merged commit 4caa023 into tbar0970:master Sep 7, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants