[Zope] dtml syntax- check file existence

Andy McKay andy@agmweb.ca
Sun, 15 Dec 2002 20:25:52 -0800


Or:

<dtml-if "restrictedTraverse('photos2/'+id+'.thumb.jpg', None)">
   has the image
<dtml-else>
    no image
</dtml-if>

http://www.zopezen.org/Members/zopista/1022017227
--
  Andy McKay