The name of the image is picked up from the style.skin – the SkinID=”BuyNowButton”
The same image is used for PopularProductsDialog, related items, etc.
I want to use a new image for BuyProductDialog.ascx and keep the other images the same.
So I added a new image and referenced it style.skin, but when I uploaded the file the site crashed.
Here's the original style.skin section that specifies the images to use.
Code: Select all
<P><asp:Image runat="server" SkinId="MoreDetailsButton" ImageUrl="images/more_btn.gif" /></P>
<P><asp:Image runat="server" SkinId="BuyNowButton" ImageUrl="images/cart_btn.gif" /></P>
<P><asp:ImageButton runat="server" SkinId="MoreDetailsButton" ImageUrl="images/more_btn.gif" /></P>
<P><asp:ImageButton runat="server" SkinId="BuyNowButton" ImageUrl="images/cart_btn.gif" /></P>
Code: Select all
<P><asp:Image runat="server" SkinId="MoreDetailsButton" ImageUrl="images/more_btn.gif" /></P>
<P><asp:Image runat="server" SkinId="BuyNowButton" ImageUrl="images/cart_btn.gif" /></P>
<P><asp:Image runat="server" SkinId="BuyNowProductPageButton" ImageUrl="images/cart_btn_lg.gif" /></P>
<P><asp:ImageButton runat="server" SkinId="MoreDetailsButton" ImageUrl="images/more_btn.gif" /></P>
<P><asp:ImageButton runat="server" SkinId="BuyNowButton" ImageUrl="images/cart_btn.gif" /></P>
<P><asp:ImageButton runat="server" SkinId="BuyNowProductPageButton ImageUrl="images/cart_btn_lg.gif" /></P>
--Alan