I have a function that are listning images uploaded to a site that has not been used anywhere. When I present it to the administrators I only get links that looks like this:
I want to also present where in the tree it exists like this:
I use GetUrl from UrlResolver to get the friendlyurl to the image(content).
Ok, now I see that I was pretty stupid and this thread is only here to help anyone as stupid as me...
/contentassets/..... is images/files uploaded in a (for this page)
/globalassets/... is images/files uploaded for global use.