Jann Forrer wrote:

Hi

I did modify the upload uecase a little bit to save the height and the
width of a image in the metadata.


I guess you mean the metadata of the image doc, right?

For the design of the site this
information might be useful.

agreed

Applying the change  respective entry in the <image>.gif.meta
looks like (lenya-1.2.X):

....
<dc:format>image/gif 505 x 48 pixels</dc:format>
...

Does that make sense or do you have other ideas where this information
should be stored?

I think something like

<img:height>...</img:height>
<img:width>...</img:width>
<mime-type>...</mime-type>


would be more handy, because it requires less parsing ;-)

If this is of interest for others, I can check it in.

+1

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