I'm using Ubuntu, Django 1.3, Python 2.7.
When I try to upload certain types of image, I get this message:
Upload a valid image. The file you uploaded was either not an image or a corrupted image.
It's happening with PNG and JPG (the formats that I need).
tiff and gif (that I don't and will never care about) are working.
What can I do ?
Install PIL !
$ sudo apt-get install python-imaging
(for Ubuntu or other Debian distrib)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With