The DAM for Sitecore module extends SItecores default LInkProvider. The reason why we do that is because our media links are not recognized by Sitecore. We have to extend the LinkProvider and overrided the method ParseDynamicLink.
kjsdlfsdf
<linkManager> <providers> <add patch:instead="*[@type='Sitecore.Links.LinkProvider, Sitecore.Kernel']" name="sitecore" type="DFS.Services.DfsLinkProvider, DFS.Services" addAspxExtension="false" alwaysIncludeServerUrl="false" encodeNames="true" languageEmbedding="asNeeded" languageLocation="filePath" lowercaseUrls="false" shortenUrls="true" useDisplayName="false"/> </providers> </linkManager>