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

AJAX photo upload blows up if file > 8M #29

Open
ericras opened this issue Jun 7, 2012 · 1 comment
Open

AJAX photo upload blows up if file > 8M #29

ericras opened this issue Jun 7, 2012 · 1 comment
Labels

Comments

@ericras
Copy link
Member

ericras commented Jun 7, 2012

On newsroom.unl.edu php.ini the max post size is set at 8M. If an ajax image upload is made that is larger it blows it up (it tries to insert the submit form where the newly uploaded image should go.)

UNL_ENews_PostHandler::handleFile() needs to check for this and reject an image that is too big.

@saltybeagle
Copy link
Member

The upload_max_filesize also affects this. Currently it's set to 2M.

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

No branches or pull requests

2 participants