2011-07-13 69 views
0

爲什麼從我的網站http://allbusters.in圖像不會在其他網站加載像http://jsfiddle.nethttp://jsbin.com不會在其他網站

這裏是JSBin鏈接到檢查顯示。它顯示來自另一個完全加載的網站的圖像 http://jsbin.com/afahec

+1

你爲什麼要做''? ''沒有結束標記。 – ceejayoz

+0

沒關係。但爲什麼不加載。它是一些WP黑客? – shahalpk

+1

你有沒有安裝任何Wordpress擴展......比如說[Hotlink Prevention](http://wordpress.org/extend/plugins/wordpress-automatic-image-hotlink-protection/)? – Wylie

回答

1

有沒有這樣的事情</img>

刪除它並妥善用/>關閉<img標籤,然後出現你的形象:

<img src='http://www.lantiis.com/images/top.png' /> 
<img src='http://allbusters.in/wp-content/uploads/2011/07/facebook_32.png' /> 

http://jsbin.com/otayuy/

爲什麼?

由於不符合規範的代碼是不可預知的。

+0

是的。有用。但我仍然不明白爲什麼? – shahalpk

+0

@Shahal Tharique:這很簡單。符合規範的代碼按預期工作不符合規範的代碼無法使用或無法預測。 – Sparky

+0

然後請解釋爲什麼會發生這種情況:[jsfiddle link](http://jsfiddle.net/P48Xe/)。這裏的圖像沒有顯示? – shahalpk