On Fri, 10 Mar 2006, Michael Wechner wrote:
Jann Forrer wrote:
Hi
Some time ago there was a discussion on adding image height/width
information to the metadata in lenya 1.2.X.
Based on this discussion and taking the metadate of 1.4 as a "standard" I
modified the UploadAction.java so that image height/width will be stored in
the metadate as follows:
....
<lenya:meta xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">
<lenya:width>180</lenya:width>
<lenya:height>45</lenya:height>
</lenya:meta>
....
WDYT?
+1 whereas I think in the case of a "image resource type" one should add this
to the resource type XML and not the Lenya meta
I don't understand that remark. The metadata are stored in the
metadata-File which belongs to the respective asset (image in that case)
similiar as in 1.4 (e.g. in a file called image.gif.meta for an
asset called image.gif)
Jann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]