Referring media Url in Azure hosted site from Html widget

Topics: Core, General
Nov 4, 2011 at 7:43 AM

Hi to All,

How can I refer an uploaded media file in a Html Widget, so it will expand correctly to the blob storage path? 

I would not like to hard code the url into my widget.

What I was trying:

a) ~/Media/etc...

b) Media/etc...

neither expanded correctly...  (both are working correctly in a _not_ Azure deployment)

Thx in advance



Nov 7, 2011 at 8:05 PM

Unfortunately you will have to: those media are on a different server, so they need a fully-qualified path.