Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Composite C1 from external sites

$
0
0
If you have the ID of the image, you can simply resolve the public url like this
var id = new Guid("");
var media = DataFacade.GetData<IMediaFile>(f => f.Id == id);
var url = MediaUrls.BuildUrl(media, UrlKind.Public)

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>