[Zope] length of an object

Chris Withers chrisw@nipltd.com
Thu, 20 Jul 2000 13:52:13 +0100


Brown Fox wrote:
> i want to know the size of an image or a file.
> 
> With
> <dtml-var "_.len(object)">
> i count objects, but for the length?

For images or file objects, I think you can try for:

<dtml-var "file_or_image.length">

cheers,

Chris