> To validate your images, just try to open it with PIL When I said I validate the image then did I mean that I try to open it with PIL. I do this in the view an if something went wrong I would save an error variable in the postdata. It is the same like in http://www.oluyede.org/blog/2007/03/18/django-image-uploading-validation-and-newforms/ . The filename is not my problem - that works fine, but i cannot read the content-type in def clean_bild(self), because it is not a MultiValueDict but an unicode String...?! The error appears when I try to read some some values from the dict -> ( content_type = image.get('content-type') ). The image upload works fine when I use the django admin.
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---