UrlResolver.GetUrl() should work on blob right?
https://world.episerver.com/documentation/class-library/?documentId=cms/11/C987A4B6
var asset = currentContent.CommerceMediaCollection[0];
var assetContent = contentLoader.Get<IContentMedia>(asset.AssetLink);
var blob = assetContent.BinaryData;
this would give you the blob to the asset, without even getting the uri (if you want that then blob.ID)
Hi
I have a product that has a image resource. I need to get the blob URL to that image.
How do I get that?
I get the image from productContent.CommerceMediaCollection.First()
I have try IBlobFactory, but then I need to URI.
Any idea?
Thanks