Hi nsash,
> def save(self, size=(80, 80)):
> super(Artwork, self).save()
> if self.file:
> filename = self.file
> image = Image.open(filename)
>
> image.thumbnail(size, Image.ANTIALIAS)
> image.save(filename)
>
> the problem is that I get the error message
>
> 'ImageFieldFile' object has no attribute '_mode'.
What django version are you using? Try to change the line "filename =
self.file" to "filename = self.file.path"... The way files are treated
on django changed recently, search for the backward incompatibility
changes to know more.
Best regards!