Part of the URL should be as simple as any other img embedded link if your blob is publicly available.
I don’t know what your object looks like, but let’s just pretend that you have a table called ImageDetails and you have an object called ImageDetail with the ThumbnailURL property. You can query a table with something like this (you probably want to subclass TableServiceContext - this is a simple example):
var imageDetailQuery = CloudStorageAccount.DevelopmentStorageAccount
.CreateCloudTableClient()
.GetDataServiceContext()
.CreateQuery<ImageDetail>("ImageDetails");
var imageDetail = (from d in imageDetailQuery where ... select d).FirstOrDefault();
At this point, assuming you have an ImageDetail object, you can simply access:
imageDetail.ThumbnailURL
And create your tag, both inline and code:
var imgTag = String.Format("<img src=\"{0}\"...>", imageDetail.ThumbnailURL);
source
share