Thank you but it didn't work  Do we need add something to templatetags
folder? I am saying this, because with django-thumbnail extension,
http://bitbucket.org/winsmith/django-thumbnail/wiki/Home
when i add thumb.py to templatetags folder it is working with
 <img src='{{ project.thumb|thumbnail:"320x240" }}' />
it is working. It is creating a new file with imagename_320_240
(something like this) .jpg file.

On Thu, Oct 21, 2010 at 2:24 PM, Ekin Yalgın <ekinyal...@gmail.com> wrote:
> Sorry it is thumb = ImageField ...
>
> On Thu, Oct 21, 2010 at 2:21 PM, Ekin Yalgın <ekinyal...@gmail.com> wrote:
>> It is something like this
>>
>> class Project(models.Model):
>>    avatar = ImageField(upload_to='images')
>>
>> On Thu, Oct 21, 2010 at 2:16 PM, Kenneth Gonsalves <law...@au-kbc.org> wrote:
>>> On Thu, 2010-10-21 at 14:11 +0300, Ekin Yalgın wrote:
>>>> I assumed that iimage filed is named thumb. Must it be 'photo'
>>>> certainly?
>>>
>>> you can name it anything you want - what is the name you have given it
>>> in the model?
>>> --
>>> regards
>>> Kenneth Gonsalves
>>> Senior Associate
>>> NRC-FOSS at AU-KBC
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Django users" group.
>>> To post to this group, send email to django-us...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>>
>>
>>
>>
>> --
>> Ekin Yalgın
>> www.ekinyalgin.com
>>
>
>
>
> --
> Ekin Yalgın
> www.ekinyalgin.com
>



-- 
Ekin Yalgın
www.ekinyalgin.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to