> From: Thomas 'Dent' Mirlacher [mailto:[EMAIL PROTECTED]]
> 
> hi list,
> 
> i don't know if this is the proper list (but i guess you will give me
a hint
> if not :) to ask this question:
> 
> i would like to add an attribute for each entry (file) in the output
> DirectoryGenerator generates.
> 
> why? i'm working on a pet project to add the capability using
thumbnails
> in the directorylisting (well obviously this can also be used for
photo
> galeries and other things ... thanks to the pipeline in cocoon)
> 
> the problem: i don't know where to find the proper functions to
extract
> the mime-type from a file (using its magic, and not the extension)

If I'm not mistaken, there is no such function. However, take a look at
ImageDirectoryGenerator which could be of help to you.

Also, take a look at ImageReader in the scratchpad.

Vadim

> 
> any help/hint (also flames) will be appreciated.
> 
>       ++dent
> 
> --
> in some way i do, and in some way i don't.


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

Reply via email to