Problem: In info.aspx page MasterPage.master's images are not visible but texts are visible. I am using this
This is Master Page codings.
Code Code Code Code Code |
This is info.aspx Page codings which is in another folder
Code |
In above page images are not visible which is in master page.
This is information.aspx Page codings
VB.NET |
In above page, images are good, working cooool
Folder location on my PC
wwwroot/MasterPage.master
: (I have used images there in master page)
wwwroot/introduction.aspx
: (In this page master page working very good)
wwwroot/secure/info.aspx
: (In this page master page working but only images are not visible)
Please tell me, where and how I change in info.aspx page or else to fix image error.

CrishRank #1,486 · 1.1K reputationPosted May 27, 2010, 8:55 AM EDT
For your solution, make skin file and apply it on this image using asp:image with skinid , it will work for all the pages. Also try url path like ImageUrl="../Images/1231.jpg". If still you get any problem then use Page.ResolveURL("~/Images/images/Water%20lilies.jpg") for your solution.Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 27, 2010, 6:54 AM EDT
PJ MartinsRank #2,548 · 548 reputationPosted May 27, 2010, 6:55 AM EDT
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 27, 2010, 8:41 PM EDT
<img src="images/Water_lilies.jpg" style="width: 949px; height: 96px" runat="server"/>
insted of
<img src="images/Water_lilies.jpg" style="width: 949px; height: 96px" />
Note: I only add runat="server" attribute in img tag and it is fixed out.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts