Umbraco/Samples and Articles/XSLT/MediaLibrary

      Reading information from the media library

      Reading information from the media library is actually quite simple - It's all implimented in Umbraco. You only need to use a method in the umbraco.library in your XSLT.


      To get the filename of a file in media library use the following XSLT:

      <xsl:value-of select="umbraco.library:GetMedia(./data [@alias = '<your property>'], 'false')/data [@alias = 'umbracoFile']"/>
      
      Last modified on 4 March 2007, at 17:06