AI OnAI Off
This should work:
var urlResolver = ServiceLocator.Current.GetInstance<UrlResolver>();
string url = urlResolver.GetUrl(contentRef);
the result i get is like: /c51753f6f962400a81fda2f7dde8f830/12ab200bb36e46ff8896731473bf7d96.png
When creating blobs, do i have to create contentRepository or is it ok to simply just store the ID for the specific blob?
ok i had to do that..
Followed solution on this post:
http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=79009
Hi,
Im trying to save images as Blobs and that works fine, also recieving them by ID works fine.
I would now like to get a direct URL to the image in the Blob, how do i do that?
is there a way to get get some kind of friendly URL for my blobs?
//P