Click here to Skip to main content
15,879,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For testing purpose I have created only one classic Asp page by the name Try.asp

<pre lang="xml">

my code starts from here
<html>
<head>

</head>
<body>
<Img alt="Submit1" src="images/Submit.jpg"/>
<Img alt="Submit2" src="../images/Submit.jpg"/>
<Img alt="Submit3" src="~/images/Submit.jpg"/>
<Img alt="Submit4" src="../../images/Submit.jpg"/>
</body>
</html>



I tried every relative path but unable to display the image. I confirm that the in the path(Try/images/Submit.jpg) image is available.

I am not able to see the image in this path also http://localhost/Try/images/Submit.jpg

Please help me ... where I am missing...?
http://www.youtube.com/watch?v=eU-VVggY_Vs[^]
http://www.youtube.com/watch?v=OCJanjJ4PGA[^]

I have seen the above video on youtube to configure IIS and I did the same thing but did not get any success
Posted
Updated 9-Jun-14 2:01am
v2
Comments
Check the source html and console tab of developer tool. See if there are any issues related to the image paths.
Ranjeet Patel 10-Jun-14 3:52am    
Hi Thanks for reply...! I found out the problem, Image path was correct.. The solution I am adding here

1 solution

I found the solution.

I re-installed the IIS, Now what I have seen, the difference is one more folder automatically added by the IIS for Aspclient in my website.
i.e. [aspnet_client]

That solved my problem..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900