Displaying images from another folder.?
-
i have 2 different folders. Admin folder and Images folder. Admin folder has just manage.aspx form.(Images folder not in that folder) i want to display my pics in Admin/manage.aspx page.But my images are in Images folder. <eit:LightBoxHyperlink ID="lb1" runat="server" Album="Sample1" Caption="Gallery 1 Pic 1" ThumbnailUrl='<#"~/Images/"+DropDownList1.SelectedValue+"/Thumbnail/"+DataBinder.Eval(Container.DataItem,"small") %>' Height="84px" Width="113px" style="vertical-align: middle; text-align: center" /> it searches my images under the :Admin/Images.... (so i get error message) But images under Images/..
-
i have 2 different folders. Admin folder and Images folder. Admin folder has just manage.aspx form.(Images folder not in that folder) i want to display my pics in Admin/manage.aspx page.But my images are in Images folder. <eit:LightBoxHyperlink ID="lb1" runat="server" Album="Sample1" Caption="Gallery 1 Pic 1" ThumbnailUrl='<#"~/Images/"+DropDownList1.SelectedValue+"/Thumbnail/"+DataBinder.Eval(Container.DataItem,"small") %>' Height="84px" Width="113px" style="vertical-align: middle; text-align: center" /> it searches my images under the :Admin/Images.... (so i get error message) But images under Images/..
Use like this
ThumbnailUrl='<../images/AddChildWBSCode.gif>'
-
Use like this
ThumbnailUrl='<../images/AddChildWBSCode.gif>'
-
But i must use databinding. ThumbnailUrl='<%#"Images/"+DropDownList1.SelectedValue+"/Thumbnail/"+DataBinder.Eval(Container.DataItem,"small") %>' i dont display just one image.i use database.
Hi Mir, No Problem write like this
ThumbnailUrl='<%#"../Images/"+DropDownList1.SelectedValue+"/Thumbnail/"+DataBinder.Eval(Container.DataItem,"small") %>'
-
Hi Mir, No Problem write like this
ThumbnailUrl='<%#"../Images/"+DropDownList1.SelectedValue+"/Thumbnail/"+DataBinder.Eval(Container.DataItem,"small") %>'