Images in images folder are not appearing to sub folder in website [Resolved]

Posted by Ksuresh under ASP.NET on 9/15/2012 | Points: 10 | Views : 1726 | Status : [Member] | Replies : 2
Dear All,

My problem:

We are creating new website in that we have images folder where all images we kept. in our website there is another folder Gallery in that we have one aspx page, we are rendering images from image folder on to the aspx page in gallery folder, we written image url correctly but images are not showing when we run aspx page. Please any one help me in this.

Is there any problem with IIS Users authentication, if so how to resolve it?

Thank & Regards
Suresh




Responses

Posted by: Kotra.Ramakrishna on: 9/17/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi,

If you are using client side path is like this

'<%= ResolveUrl("~/your image path ") %>'

If you are referring server side

this.ResolveUrl(~/your images path );



Thanks & Regards
Ramakrishna.k

Ksuresh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vikash on: 9/15/2012 [Member] Starter | Points: 25

Up
0
Down
For me there should not be problem like this, else
Please write url like following hopefully it will work...

"~/images/grd_pgr.png"

reply back...

Regards,
Vikash Pathak

Ksuresh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response