is there a way to set a max size for the images uploaded in my django app using easy-thumbnails app?
In the settings list I don’t see anything about it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To cap file size, you might want to do it in the webserver, rather than in Django.
Alternatively, you can specify a custom file handler, with which you can raise an error if the file is too big:
Though this will cause a connection reset error in order to stop processing the large file.
If you want to cap image size, you can resize the image before it is saved as stated in the readme: