Robin van Meteren <[EMAIL PROTECTED]> wrote:
> > 
> The width and height are determined from the byte array in the handle
> field from the image itself. I am not sure but I think the byte array
> for the icache-node is stored in a different node. This node should than
> be first retrieved.

I would propose a new 'function' 'cachenode' on images for that, or perhaps
the 'cache' function already works (but I think that now give only a number,
while you want an actual node).

<mm:functioncontainer>
  <mm:param name="template">s(100x100)</mm:param>
  <mm:nodefunction name="cachenode">
    <img src="<mm:image />" height="<mm:function name="height" />" />
  </mm:nodefunction>
</mm:functioncontainer>

The 'height' and 'width' functions should then be implemented on
'AbstractImages' becasue they must be availabe for both images and icaches.

> > itself. Perhaps as an optional plugin (<property 
> > name="imageinfoclass" or so).
> >
> > Michiel
> >  
> That would be nice.

Do you know the author of this ImageInfo class? Things would get easier to
maintain if we could simple add a copy to mmbase.jar.

 Michiel

-- 
Michiel Meeuwissen
Mediacentrum 140 H'sum 
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to