hey Jack, There's a good example of what Felix suggests at http://dev.day.com/microsling/content/blogs/main/fileuploadsinsling.html to get you started. Then, you can use a metadata extraction library like http://www.drewnoakes.com/code/exif/
Hope this helps, Renaud On Wed, Oct 15, 2008 at 1:10 PM, Felix Meschberger <[EMAIL PROTECTED]>wrote: > Hi Jack, > > I would register a JCR EventListener which gets notified of the uploaded > images. This may then extract the metadata and write it e.g. to the > jcr:content child node of the nt:file node containing the image. > > Hope this helps. > > Regards > Felix > > 付 尧 schrieb: > > Hey guys, > > > > I'm making a system to do photo management. What I want to do is this: > > > > When a user upload his photos in webdav, the system extract the metadata > > from the photo, and set the metadata to the node of the photo. > > > > How can I achieve this in sling? > > > > ----- > > Jack > > > > > > > > > >
