Image is no loaded at client
Posted: Fri Nov 15, 2013 5:25 am
HI,
I am using MVC viewer in my application. I find that images are loaded at server side rather then client side. This bring us some trouble because of authentication.
For example, we have two sites, site A and site B. Site A is the application. Site B renders all the resources, including images. Both sites require authentication. We are using WS Federation authentication. Client has access to A and B.
In all our pages, this structure works fine, because images are rendered at client. but on the report page, images won't show. I think this is because the report viewer failed to get images from site B, but it is not authenticated.
Is there anyway I can make the images loaded at client? i.e. instead of rendering <img src="data...">, can it render image as <img src="http..">?
Thanks
I am using MVC viewer in my application. I find that images are loaded at server side rather then client side. This bring us some trouble because of authentication.
For example, we have two sites, site A and site B. Site A is the application. Site B renders all the resources, including images. Both sites require authentication. We are using WS Federation authentication. Client has access to A and B.
In all our pages, this structure works fine, because images are rendered at client. but on the report page, images won't show. I think this is because the report viewer failed to get images from site B, but it is not authenticated.
Is there anyway I can make the images loaded at client? i.e. instead of rendering <img src="data...">, can it render image as <img src="http..">?
Thanks