无法在客户机中显示图像 [英] unable to display image in client machine

查看:75
本文介绍了无法在客户机中显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网络应用程序。
我已经使用html标签将图像插入到我的web应用程序主页。它在服务器机器上运行得非常好。但是,当任何客户端访问我的网页时,除了图像外,Web应用程序主页中的所有内容都会显示出来。

I have a web application. I have inserted an image into my web application homepage using html tags.It is working very well in server machine. But when any client is accessing my web page everything that is present in the homepage of the web application is displayed except the image. Instead of image cross mark is displayed in client machine.

任何人都可以帮助我如何在客户端机器上显示图像。

Can anybody help me how to display the image in client machine.

推荐答案

检查img标签中src属性的路径。确保它是相对路径,而不是硬编码到硬盘上的路径。

Check the path in the src attribute in the img tag. Make sure it's a relative path, and not hard coded to path on your hard drive.

这篇关于无法在客户机中显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆