如何从Facebook sharer中排除图片 [英] how to exclude an image from facebook sharer

查看:128
本文介绍了如何从Facebook sharer中排除图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使我在我的网页中使用了这个元 使用ajax加载(load.gif)

even though i use this meta <link rel="image_src" href="myimage"/> in my page, facebook sharer selects an image that i am using for ajax loading (load.gif)

我如何排除该图像?

推荐答案

而不是将其包含在HTML中,当您需要显示时,尝试使用Javascript动态添加该load.gif到页面。这样Facebook就不会在HTML中看到这个图像。

Instead of including it in the HTML, try adding that load.gif to the page dynamically using Javascript when you need to display it. This way Facebook will not see this image in the HTML.

这篇关于如何从Facebook sharer中排除图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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