Re: Unable to upload PNG's
Seems like PIL doesn't like interlaced PNG's. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Unable to upload PNG's
Thanks for that! I think there might be a link missing in your message. I did that search and it didn't bring up anything really useful. I tried linking to the 'zlib' headers in the 'setup.py' manually as one post suggested, but it had no effect after a rebuild and install. The installation message still says that PNG are supported, but they don't want to be accepted. Has any one been able to resolve this issue? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Unable to upload PNG's
Julian, This is a PIL issue that appears to be biting a lot of people. Googling for "PIL PNG problem" will help, but this link might be a good starting point. Best, Will On Jun 23, 2008, at 6:02 PM, jurian wrote: > > I am currently getting an error when I attempt to upload a PNG image > from the admin side. > > Error: Upload a valid image. The file you uploaded was either not an > image or a corrupted image. > > There is nothing wrong with the image, and I've made sure that my PIL > is setup correctly. > > > PIL 1.1.6 BUILD SUMMARY > > version 1.1.6 > platform linux2 2.5.2 (r252:60911, Mar 27 2008, 15:17:32) > [GCC 4.1.3 20070929 (prerelease) (Ubuntu > 4.1.2-16ubuntu2)] > > *** TKINTER support not available > --- JPEG support ok > --- ZLIB (PNG/ZIP) support ok > --- FREETYPE2 support ok > > > Any clues will be appreciated, thanks. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Unable to upload PNG's
I am currently getting an error when I attempt to upload a PNG image from the admin side. Error: Upload a valid image. The file you uploaded was either not an image or a corrupted image. There is nothing wrong with the image, and I've made sure that my PIL is setup correctly. PIL 1.1.6 BUILD SUMMARY version 1.1.6 platform linux2 2.5.2 (r252:60911, Mar 27 2008, 15:17:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] *** TKINTER support not available --- JPEG support ok --- ZLIB (PNG/ZIP) support ok --- FREETYPE2 support ok Any clues will be appreciated, thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---