[Zope] Easy way to display a random image in ZPT
    Michael Fox 
    Michael at CenturySoftware.com.au
       
    Fri Mar 19 00:08:56 EST 2004
    
    
  
Hi *,
What's the easiest way to do the following DTML in ZPT?
<img src="images/<dtml-var
expr="_.whrandom.choice(imgages.objectIds())">" />
Regards,
Michael
    
    
More information about the Zope
mailing list