Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ove Andersen 435 posts 1541 karma points c-trib
    Jan 08, 2009 @ 22:29
    Ove Andersen
    0

    Reading image EXIF/Metadata using XSLT

    Is there a way to read EXIF data from a JPG in the media section by using XSLT?

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jan 08, 2009 @ 22:50
    Morten Bock
    0

    Not that I know of. But I guess you could pretty easily build an xslt extension that could do it for you. Alternatively you could create fields for the data on your mediatype, and then populate them with a custom upload control.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 09, 2009 @ 11:01
    Ismail Mayat
    0

    azzlack,

    As per Mortens suggestion write an xslt extension. To do the acutal exif image data extraction try http://www.codeproject.com/KB/graphics/exifextractor.aspx

    Regards

    Ismail

  • Ove Andersen 435 posts 1541 karma points c-trib
    Jan 09, 2009 @ 11:42
    Ove Andersen
    0

    I am not that familiar with xslt and external dlls...

    Do I have to write an .ashx file that processes requests similar to the one used in ImageGen?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 09, 2009 @ 11:56
    Dirk De Grave
    0

    Hi,

    Just a quick how-to on xslt extensions:

    -Create a library
    -Create a class and add as many functions are required in the xslt (Must be static functions!)
    -Compile and deploy to bin folder
    -Adapt xsltExtensions.config to include the new xslt extension



    Mind following: assemblyName without the dll extension, typeName must be FQN and alias is what you'll use in the xslt

    Go, go, go...

    Regards,
    /Dirk

Please Sign in or register to post replies

Write your reply to:

Draft