Ignore image when sharing a page with Facebook

Deadly 提交于 2019-11-29 11:18:04

This is a little hackish but it worked for me. So the only criteria that facebook uses to ignore images is the width to height ratio, all other images in your page will get picked up and will be an option as a thumbnail. So what I did is expose the undesirable images as css in a div tag, instead of as an tag. Then facebook won't picked them up.

I'm afraid this is not possible. Why don't you do the opposite of the opposite, and set an image to force facebook using that specific one?

So if you don't want to always set an image, make a default image to be used for facebook sharing everywhere unless otherwise specified.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!