Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems showing images on ASP page via client browser

Status
Not open for further replies.

vikunja

Technical User
Jun 6, 2002
18
NO
Hi

I have no problems showing images on my ASP page if i browse through the pages using the webservers Internet Explorer. However via a client computers Internet explorer, the ASP page shows a red x.

I have set a filepath on my Access database field for the images (e.g.: d:\inetpub\and used the following code to access them with ASP:

<img src=&quot;<%=b(&quot;bpic&quot;)%>&quot; width=&quot;485&quot;height=&quot;160&quot;><br><br><br>

thanks in advance!

Alexi Santana
 
Your URL is the physical path to the image on your PC where it should be the path relative to the website or the full website path.

ie in Access it should say:

&quot;tbilder\azur.jpg&quot; if tbilder is your images directory or just &quot;azur.jpg&quot; if tbilder is your root directory alternatively if your website is then the image path in access should be

What is happening is the image is being looked for on the client machine not from the server
 
Your URL is the physical path to the image on your PC where it should be the path relative to the website or the full website path.

ie in Access it should say:

&quot;tbilder\azur.jpg&quot; if tbilder is your images directory or just &quot;azur.jpg&quot; if tbilder is your root directory alternatively if your website is then the image path in access should be

What is happening is the image is being looked for on the client machine not from the server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top