kwe wrote:
> I guess this means "if the PIL Image class can be used directly as
> input to the save_FIELD_file() call." - it can't ?
>
> sorry new to python and just want to check I'm reading the error
> correctly. Any ideas on how to change the type?
Again, I'm not somewhere I can confirm
Sasha wrote:
> def save(self):
> super(Picture, self).save()
> if self.image and not self.thumbnail:
> import Image
> myImage = Image.open(self.get_image_filename())
> myImage.thumbnail((150,150))
[EMAIL PROTECTED] wrote:
> Hi!
>
> Is there way to change "upload_to" parameter's behaviour?
> I see there is hardcoded strftime replacement.
>
> What I want to achieve is to organise uploaded files with directories
> named with uploading user's name. eg. MEDIA_ROOT/uploads//
>
Jay's patch is
Phil Powell wrote:
> My suggestion would be to create
> a new field type which does everything in one place - perhaps use
> ImageField code as a basis for an ImageFromUrlField, using the data
> from the URL instead of the POST data?
Okay, I haven't looked at that, so at least it's a new
Hi,
I've asked a couple of times on #django about this and although I've
had some friendly attempts to help, I haven't resolved my problem, so I
thought I'd try here.
I've blogged about the problem at
http://manwiththebones.dyndns.org/wordpress/?p=110, but I'll just
restate the intention
5 matches
Mail list logo