> What constitutes a 'valid' image? > The documentation states "ImageField... Like FileField, but validates > that the uploaded object is a valid image."
I haven't read through the code, but the error must be caught somewhere because I just tested it out. Trying to upload in the admin a random file with a png extension throws a ValidationError: "Upload a valid image. The file you uploaded was either not an image or a corrupted image." My guess is just that if PIL can open it, its an image, if not, it throws the error. Peter -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.