[Zope] image manipulation in tables

Dieter Maurer dieter@handshake.de
Sun, 12 May 2002 09:58:18 +0200


Bill Kerr writes:
 > this code creates a table with images in the first column and captions in
 > the second column
 > (images from a folder called Personal)
 > how could I rewrite it so images go in the first row and captions in the
 > second row?
 > 
 > <dtml-in expr="Personal.objectValues('Image')">
 > <tr>
 >   <td>
 >       <dtml-var sequence-item>
 >    </td>
 >   <td>
 >       <dtml-var title>
 >    </td>
 > </tr>
 > </dtml-in>
 > 
 > it seems hard to me
Not sure, what you want precisely:

  But inserting "</tr><tr>" after the first "</td>" would use
  two rows per image.
  

Dieter