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?

This is certainly useful.

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   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