On May 16, 7:37 pm, newbie <mara.ku...@gmail.com> wrote:
> Hi,
>
>          I want to display an image from static files directory in a
> template. The name of the image is stored in a variable(say image).
> When i try to display it in the template using img tag( src =
> {{ image }} ), its not displayed. Can someone help me in this regard.
>
> Thanks,
> nazgi.

http://docs.djangoproject.com/en/dev/howto/static-files/
--
DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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