c# - Image is not displayed in browser when uploaded to server in ASP.NET -
i have project works fine in local server.the project when uploaded in real server, runs , shows no error displays broken image.the image in product folder inside img folder in webroot.
i inspected image , provided image path root directory , works when image path taken inside folders img/product/image.jpg, shows broken image.
any much appreciated.
edit:
i checking result inspect elements. image tag
<img width="100%" src="/img/product/hs6.jpg">
the image hs6.jpg exists why won't displayed. if use image root, display
<img width="100%" src="career.jpg">
the above 1 working good.
when copy image location shows http://sajilobazar.com/img/product/l7.jpg
.you can check in browser.
i solved error last night.there nothing wrong in path.i changed folder name img
myimg
, built solution , uploaded in server , working good.
the error guess due use of img
folder img
predefined tag or keyword.
Comments
Post a Comment