I have defined a skin for the image control in a skin file (Airloom.skin).
<%-- Company Logo--%>
<asp:Image SkinID="skCompanyLogo Font-Names="Verdana" runat="server" ImageUrl="Images/Airloom_72dpi.jpg" />
In the aspx page, the image control is defined as follows:
<asp:Image ID="imgSecurityMailLogo" runat="server" SkinID="skCompanyLogo"/>
The image is stored in the following directory:
App_Themes/Airloom/Images/Airloom_72dpi.jpg
The skin file is stored in the following directory:
App_Themes/Airloom/Airloom.skin
The theme is defined in the web.config file as follows:
<pages theme="Airloom" enableEventValidation="false" viewStateEncryptionMode="Never"/>
Now when I run the application, the colors for the application changes as defined in the "Airloom" theme but the image does not change. In fact the image is not shown even though I have defined a skin for the image control.
I have tried changing the ImageURL in the skin file to "~/App_Themes/Airloom/Images/Airloom_72dpi.jpg" but that also did not work. Is there something that I'm doing wrong? Please help?