Hi,
Is it possible to test ,if an image exists, from a template?
To explain:
Let's suppose in my template I use
<img src="/Media/Uploaded/Thumbnail/{{ImageName}}">

and {{ImageName}} is a picture that can exists but it needn't.
But if it does not exist, then I will receive an ugly picture in my
view (HTML)result.
So, I test that in my view but it would be better if I could test that
directly from my template
Thank you for help
L.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to