a1jit Posted October 18, 2005 Posted October 18, 2005 (edited) Hi Guys, Im facing some problem getting image displayed on an asp.net page.. Currently this is the code i use to display an image <asp:image id="Image1" style="Z-INDEX: 107; LEFT: 0px; POSITION: absolute; TOP: 0px" runat="server" ImageUrl="\\10.204.237.97\Report\Images\Logo.JPG" Height="96px" Width="1800px"></asp:image><br> Whenver i view this asp.net page in my pc, the image gets displayed, but if its viewed from a differnt machine, the image is not loaded. The source code is located in "Report" Directory in "wwwroot" and image is located in "Report\Images" directory Something might be wrong with the path.. Can someone help me out..Thanks a lot.. Edited October 18, 2005 by a1jit Quote
bungpeng Posted October 18, 2005 Posted October 18, 2005 Sure you can't use this path: "\\10.204.237.97\Report\Images\Logo.JPG", because it is LAN path. You need to move those images files to your web server. Unless that is hosting server, so you use URL to refer to your image file, like: http://10.204.237.97/report/images/logo.jpg Quote
a1jit Posted October 18, 2005 Author Posted October 18, 2005 Hi, thx, that worked out well.. Looks like you are from malaysia too.. great.. thank you Quote
bungpeng Posted October 18, 2005 Posted October 18, 2005 You are welcome! You are from Malaysia too? nice to meet u. Quote
a1jit Posted October 18, 2005 Author Posted October 18, 2005 yup..im from malaysia too..nice knowing u.. still new to asp.net thx for the help Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.