asp.net mvc - AzureReader2 with ImageResizer prefix issue -
we using azurereader2 plugin read blob urls , imageresizer plugin re-size images on fly.
our container name - img
azurereader2 prefix name - img
<add name="azurereader2" prefix="~/img/" connectionstring="defaultendpointsprotocol=https;accountname=my;accountkey=my endpoint="http://<account>.blob.core.windows.net/" />
so, image url looking below:
http://.blob.core.windows.net/img/img/1gks2eef2br171185/f81c8448-47cb-4448-b1d3-d59a07394bb4.jpg?w=500
img repeated twice.
is there way handle this?
can use empty prefix imageresizer?
any advise helpful.
based on example url you've provided, think misunderstanding process. the cloud architecture page can helpful here.
your image url should not http://myaccount.blob.core.windows.net/img/img/1gks2eef2br171185/f81c8448-47cb-4448-b1d3-d59a07394bb4.jpg?w=500
without cdn, should in form http://myserverwithimageresizer.com/img/img/f81c8448-47cb-4448-b1d3-d59a07394bb4.jpg?w=500
azure's blob store doesn't know ?w=500
. urls in html pages should never point blob.core.windows.net
; should point server - or, cdn that points server (not blobstore!).
Comments
Post a Comment