We have component in Tridion and images are attached to those component. We publish component and try to get image url from broker using below method by passing image tcm id but we didn't receive image path for some of the images instead of image path we got "_".
public string GetUrlForUri(string uri) { var item = BinaryMetaFactory.GetMeta(uri); return item == null ? string.Empty : item.UrlPath; }
Could you please help us to find out solution of this problem?
Thanks Vivek Chauhan