If this image is becoming an object you can check whether that object exists
and when it was last updated.
----- Original Message -----
From: "peter bengtsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 4:12 PM
Subject: [Zope] Check if Image is uploaded solution
> I'll post this on Zope Tips.
>
> I've struggled with this for almost an hour soon, and since no good answer
> was provided in the mailinglist or the weblogs, I post it.
>
> -----
> How to check if an Image has been uploaded from a file form or not.
>
> <precondition>
> <input type=file name=myimage>
> </precondition>
>
> <dtml-if "_.len(_.getattr(myimage,'filename')) > 0">
> Image posted
> <dtml-else>
> No image posted
> </dtml-if>
> -----
>
>
> Reflections on this?
>
>
> --
> / Peter
>
> _______________________________________________
> Zope maillist - [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )