Re: Imagefield, PIL and save()

2009-09-03 Thread aa56280
On Sep 3, 5:31 pm, Rob Broadhead wrote: > If you are on a Mac there are some issues with the imagelib you will   > need to fix. Very interesting. I am on a Mac. So I'll investigate and update. Thanks, Rob. --~--~-~--~~~---~--~~ You received this message because yo

Re: Imagefield, PIL and save()

2009-09-03 Thread Rob Broadhead
If you are on a Mac there are some issues with the imagelib you will need to fix. Google Mac PIL django and I think you will get three or four walk-throughs to fix the problem. I think you can see the error when you run the PIL tests, but I went through a lot of iterations just fixing that

Imagefield, PIL and save()

2009-09-03 Thread aa56280
I have an ImageField in a model. I also have a ModelForm for this model. I'm overriding save() so that I can take the image that was uploaded and make a thumbnail out of it using PIL. I'm using the simplest of examples just to get started: ... def save(self): from PIL import Image im = Imag