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

Michi


Jann


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to