我在Dreamweaver中使用了相同的代码。在本地托管环境中,它工作正常。但是,如果我在Business Catalyst服务器中放置完全相同的代码,则无法显示图像。
Document document = Jsoup.connect(url)
.userAgent("Mozilla/5.0 (Windows; U; WindowsNT 5.1; en-US; rv1.8.1.6) Gecko/20070725 Firefox/2.0.0.6")
.timeout(30000)
.get();
答案 0 :(得分:0)
I've seen images and files not render correctly in BC without the /
in front of them. Try adding the /
in front of your image path and see if they render. IE:
src="/image/Gold_960x560.png"
If they still do not render, be sure they are uploaded to the server and the path is correct.
You commented:
...for the ping, Safari just display a box with "?", in Chrome, alt can display, but not the png.
You will see this when an image isn't loading.