服务器上的图像。 [英] Images on server.

查看:78
本文介绍了服务器上的图像。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正面临这个问题我在我的网站上有图像,但当我部署

服务器上的网站时,图像不存在我只有得到X标志。

我怎么能这样做。

谢谢

解决方案

" rcoco" < nc ****** @ yahoo.cawrote in message

news:11 ********************** @ d57g2000hsg .googlegr oups.com ......


我正面临这个问题我在我的网站上有图像但是当我部署时

服务器上的网站图片不在那里我只得到X标志。

我该怎么办呢。



通过确保图像是应用程序其余部分所期望的位置

找到它们......


他们为什么不在那里......?您是否忘记将它们部署到

网站......?当你应该使用

相对寻址时使用绝对寻址......?


" rcoco" < nc ****** @ yahoo.cawrote in message


news:11 **************** ****** @ d57g2000hsg.googlegr oups.com ...


>我正面临这个问题我在我的网站上有图像但是当我
在服务器上部署网站图像不在那里我只得到了
X标志。我怎样才能解决这个问题。



通过确保图像是应用程序的其余部分

期望找到它们。 ..


他们为什么不在那里......?您是否忘记将它们部署到

网站......?您是否应该使用绝对寻址

相对寻址...?



要测试这个,请参阅此属性失败的图像(或在浏览器中的页面中找到它的

html-source)。 URL是您期望的那样

是多少?这些图片真的是指向该URL的位置吗?

Hans Kesting


3月30日12:53 pm,Hans Kesting< news.2.han ... @ spamgourmet.com>

写道:


" rcoco" < nclau ... @ yahoo.cawrote in message

news:11 ********************** @ d57g2000hsg.googlegr oups .com ...


我正面临这个问题我的网站上有图像但是当我

在服务器上部署网站图像不存在我只得到

X标志。我怎么能这样做呢。


通过确保图像是应用程序其余部分的位置

期望找到它们...


他们为什么不在那里......?您是否忘记将它们部署到

网站......?你应该使用

相对寻址时使用绝对寻址吗?



为了测试这个,看看这样一个失败图像的属性(或者在

中找到它

浏览器中页面的html源代码。 URL是您期望的那样

是多少?这些图片确实是指向该URL的位置吗?


Hans Kesting



谢谢Hans,

我已经设法在服务器上看到它但是当我尝试在客户端上获取

网站时,我看不到图像。我该怎么办?

谢谢。


Hi all,
I''m facing this problem I have images on my website but when I Deploye
the website on server the Images are not there I only get the X sign.
How can I go about this.
Thanks

解决方案

"rcoco" <nc******@yahoo.cawrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...

I''m facing this problem I have images on my website but when I Deploye
the website on server the Images are not there I only get the X sign.
How can I go about this.

By making sure that the images are where the rest of the app is expecting to
find them...

Why are they not there...? Have you forgotten to deploy them to the
website...? Are you using absolute addressing when you should be using
relative addressing...?


"rcoco" <nc******@yahoo.cawrote in message

news:11**********************@d57g2000hsg.googlegr oups.com...

>I''m facing this problem I have images on my website but when I
Deploye the website on server the Images are not there I only get the
X sign. How can I go about this.

By making sure that the images are where the rest of the app is
expecting to find them...

Why are they not there...? Have you forgotten to deploy them to the
website...? Are you using absolute addressing when you should be using
relative addressing...?

And to test this, see the properties of such a failed image (or find it in
the
html-source of the page in the browser). Is the URL what you expect it to
be? Are the images really where that URL is pointing to?

Hans Kesting


On Mar 30, 12:53 pm, Hans Kesting <news.2.han...@spamgourmet.com>
wrote:

"rcoco" <nclau...@yahoo.cawrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...

I''m facing this problem I have images on my website but when I
Deploye the website on server the Images are not there I only get the
X sign. How can I go about this.

By making sure that the images are where the rest of the app is
expecting to find them...

Why are they not there...? Have you forgotten to deploy them to the
website...? Are you using absolute addressing when you should be using
relative addressing...?


And to test this, see the properties of such a failed image (or find it in
the
html-source of the page in the browser). Is the URL what you expect it to
be? Are the images really where that URL is pointing to?

Hans Kesting

Thanks Hans,
I have managed to see it on The server But when I try getting the
website on The Client I can''t see Images. what could i do?
Thanks.


这篇关于服务器上的图像。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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