Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Image missing after going to next page

$
0
0

my image was at master page with path

src="/Logo/images.jpg" />

this works find when i am debugging. 

but when i deploy the website. when i load the default page the image was still there, after going to next page which is in different folder. The image path will be lose.

how to i set a relative path as pages goes?

src="~/Logo/images.jpg" />
src="./Logo/images.jpg" />
src="/Logo/images.jpg" />

all these does not work when i go to next page.

master.aspx is in the main folder (mywebsite)

logo is in the subfolder of mywebsite

mywebsite/logo/images.jpg


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>