[Zope] Local File System

Karl Ulbrich karl_zope@sub.ulbrich.org
Thu, 18 May 2000 20:36:33 -0400


I'm just getting started, but managed to use
the following to display only JPG's, and then
only ones starting with "tn_" (my thumbnails):

<ul>
<dtml-in "tester.fileValues()">
  <dtml-if "type=='image/jpeg'">
    <dtml-if "id[0:3]=='tn_'">
      <img src="<dtml-var "parent.id">/<dtml-var url>">
    </dtml-if>
  </dtml-if>
</dtml-in>
</ul>

(my localfs instance is called "tester" and is 
in the same folder with the dtml page containing this code)

Karl