Re: Having avatar ImageField in UserProfile

2007-12-27 Thread Dmitry Lipovoi
try to get_FIELDNAME_width() and get_FIELDNAME_height() methods of model. On Dec 26, 9:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Ok, > > I was able to get much of the stuff going...There's one main question > I have now > > 1) I have an avatar field (ImageField type) in my

Re: Having avatar ImageField in UserProfile

2007-12-25 Thread [EMAIL PROTECTED]
Ok, I was able to get much of the stuff going...There's one main question I have now 1) I have an avatar field (ImageField type) in my form..and I want to check for a valid size of the avatar image in the clean_avatar(self) method of my form. How can I get access to the uploaded file and

Having avatar ImageField in UserProfile

2007-12-25 Thread [EMAIL PROTECTED]
I am new to Django and python overall. The django experience thus far, has been great -- immensely satisfying. The only regret I have is not getting on the django bandwagon earlier. Anyways, as I've been trying to code away, I hit a stumbling block while using the newforms and imagefield. the