So, I created my own webpart wich reads some cms.file documents. The documents I'm trying to read are images. So I need to get the imageurl of this file, but I can't see how. I 'can't find a property which retreives the
complete filepath of the image.
Here's my code.
DataSet documents = tree.SelectNodes(CMSContext.CurrentSiteName, "/%", "en-US", false, "CMS.File");
if (documents != null && !DataHelper.DataSourceIsEmpty(documents))
{
foreach (DataRow documentRow in documents.Tables[0].Rows)
{
TreeNode node = TreeNode.New(documentRow, "CMS.File", tree);
string filename = node.GetValue("FileName").ToString();
string fullpath = ????
}
}