打开图形图像不显示

时间:2016-07-31 16:09:14

标签: share-open-graph

我有这个代码用于测试open graphic,这是下面的代码:

<html>
<head>
    <meta charset="UTF-8" />
    <title>THE KING</title>
    <meta name="robots" content="Just About Me" />
    <meta name="description" content="All You Should Know About Me" />
    <meta property="og:locale" content="en_US"/>
    <meta property="og:type" content="article"/>
    <meta property="og:title" content="Just About Me"/>
    <meta property="og:description" content="All You Should Know About Me"/>
    <meta property="og:url" content="http://share.stephensangkn.org"/>
    <meta property="article:section" content="The King"/>
    <meta property="article:published_time" content="2016-07-31 15:58:30"/>
    <meta property="article:modified_time" content="2016-07-31 15:58:30"/>
    <meta property="og:image" content="http://share.stephensangkn.org/images/me.jpg"/>
    <script src="js/jquery.js"></script>
</head>
<body>
    <h2>THE KING</h2>
    <img src="images/me.jpg" style="max-width:500px;max-height:500px" /><br>
    <a style="cursor:pointer;">share</a>
    <script>
        url = "https://facebook.com/sharer.php?u=http://share.stephensangkn.org";
        W = "500";
        H = "800";
        $('a').click(function(){
            window.open(url, '', 'width='+W+',height='+H);
        });
    </script>
</body>
</html>

但问题是当Facebook页面打开时图像拒绝显示,我甚至改变了图像仍然是相同的结果。这是我的页面的link。请帮忙吗?

1 个答案:

答案 0 :(得分:0)

我确实尝试过您的代码并观察了您的投诉,但我在Facebook页面上分享了该链接,并在您的链接上显示了相同的照片,所以尝试分享它看看