Thank you!
I will youse TiNo's solutions. The resize feature is huge!
On Aug 21, 6:10 pm, Alex Gaynor wrote:
> On Fri, Aug 21, 2009 at 3:50 AM, TiNo wrote:
> > On Fri, Aug 21, 2009 at 10:40, Léon Dignòn wrote:
>
> >> Hello,
>
> >>
On Fri, Aug 21, 2009 at 3:50 AM, TiNo wrote:
> On Fri, Aug 21, 2009 at 10:40, Léon Dignòn wrote:
>>
>> Hello,
>>
>> in my ModelForm I try to allow only images (for avatar) smaller than
>> 64*64 pixels. I've done this by overriding clean_avatar(). But how
On Fri, Aug 21, 2009 at 10:40, Léon Dignòn wrote:
>
> Hello,
>
> in my ModelForm I try to allow only images (for avatar) smaller than
> 64*64 pixels. I've done this by overriding clean_avatar(). But how can
> I check the dimensions? The instance is an InMemoryUploadedFile
Hello,
in my ModelForm I try to allow only images (for avatar) smaller than
64*64 pixels. I've done this by overriding clean_avatar(). But how can
I check the dimensions? The instance is an InMemoryUploadedFile which
has no width or height. Any help regarding this?
class
4 matches
Mail list logo