I use the following code to get the relative path of the image I upload using the dnn:FilePicker:
using DotNetNuke.Services.FileSystem;
...
var image = (FileInfo)FileManager.Instance.GetFile(FilePicker.FileID);
if (image != null)
{
imgPhoto.ImageUrl = FileManager.Instance.GetUrl(image);
}
If you need to full url, I use the following code:
string baseUrl = (Request.IsSecureConnection ? "https://" : "http://") + base.PortalAlias.HTTPAlias;
var image = (FileInfo)FileManager.Instance.GetFile(FilePicker.FileID);
if (image != null)
{
imgPhoto.ImageUrl = baseUrl + FileManager.Instance.GetUrl(image);
}