hyperlink image won't resize
I'm new to asp.net I'm trying to resize the image that's loaded for my hyperlink but it doesn't seem to want to cooperate.
I have a table where I've bound my control's imageUrl and NavigateUrl to. The loading of the image and the hyperlink works, but the image that's loaded isn't resizing. But if I create a bound image, that works fine.
Here it the generated asp code:
<asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ImagePath") %>' Width="95px"/><br />
<asp:HyperLink ID="HyperLink1" runat="server" ImageUrl='<%# Eval("ImagePath") %>' NavigateUrl='<%# Eval("HyperLink") %>' BorderStyle="None" EnableTheming="True" Width="95px">[HyperLink1]</asp:HyperLink></td>
Anyone have any idea how to fix this?