Java |
problem is: i can show images on local computer. but when i run site that is published, images don't show. what can be the reason.Thanks.
Java |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 13, 2011, 7:19 PM EST
You might have saved the images full path e.g, "C:\Aspnet\Image\xyz.png" if it is like this then it's become machine specific or location specific. Try saving with relative path like... \Images\xyz.png. and place the image folder under the root of your website.
Hope this will help you.
Thanks.
Suthish NairRank #92 · 22.8K reputationPosted Feb 13, 2011, 8:29 PM EST