We're using DD4T version 1.31 as the foundation for our MVC5 project and I've run into an awkward situation: When links in a rich text fields get resolved this works perfectly for component links but not for binary links (links to multimedia components). The binary links are always resolved to "null".
I have verified that the binary is published to the database, is accessible using its respective URL through the Binary Distribution Module and is present in the broker database.
I've made the code as simple as possible but perhaps that is the problem?
LinkFactory dd4tLinkFactory = new LinkFactory();
string url = dd4tLinkFactory.ResolveLink(componentUri);
Do i need to setup any properties of the LinkFactory to allow it to resolve binary links?