I assumed that iimage filed is named thumb. Must it be 'photo' certainly?

On Thu, Oct 21, 2010 at 2:01 PM, Kenneth Gonsalves <law...@au-kbc.org> wrote:
> On Thu, 2010-10-21 at 13:53 +0300, Ekin Yalgın wrote:
>> It is a good extension, but in template page,
>>
>> ....
>> {% load thumbnail %}
>> ...
>> <img src='{% thumbnail object.thumb 200x100 %}' />
>
> assume that the image field is named photo:
>
> <img src='{% thumbnail object.photo 200x100 %}' />
>
> will work (note it is not object.photo.url)
> --
> 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.
>
>



--

-- 
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