Hi,
Please help me I show the product image from database but zooming image does not supported for static only. This's my coding path.
And one thing If I give direct image means zooming image will be work, but I called from database image will be display but zooming does not work. Please refer my coding path and give right solution.
.aspx:
Collapse | Copy Code
<img src="<%# FormatImg(DataBinder.Eval(Container.DataItem,"image1")) %>" id="imgSmile" runat="server" style="width:100px; height:110px;" />
code-behind page:
Collapse | Copy Code
imgSmile.Src = FormatImg(ds.Tables[20].Rows[0]["image1"].ToString());
public string FormatImg(object str)
{
string strArg = "~/pro_images/" + str.ToString();
return strArg;
}
By
Bala