Re: Is it possible to do this from templates?

2006-06-27 Thread Jay Parlar
On 6/27/06, PythonistL <[EMAIL PROTECTED]> wrote: > > Hi, > Is it possible to test ,if an image exists, from a template? > To explain: > Let's suppose in my template I use > > > and {{ImageName}} is a picture that can exists but it needn't. > But if it does not exist, then I will receive an ugly

Is it possible to do this from templates?

2006-06-27 Thread PythonistL
Hi, Is it possible to test ,if an image exists, from a template? To explain: Let's suppose in my template I use 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