我正在尝试创建几个HTML页面的缩略图图像,以便用户可以在打开链接之前了解HTML的外观。我已经在网上搜索过了,但没有找到任何有用的东西。
在座的各位能提供一些建议吗?非常感谢!
我特别希望这发生在服务器端,这样客户端就不需要加载页面了
发布于 2013-05-02 06:52:45
发布于 2020-02-26 16:45:46
你必须在你的头标签中使用Open Graph标签:
<html>
<head>
<meta property="og:site_name" content="Your Website Name Here" />
<meta
property="og:title"
content="Yourtitle goes here, about 90 characters in length."
/>
<meta
property="og:description"
content="description of URL that is about 300 characters in length."
/>
<meta property="og:image" content="YOURIMAGEURL.JPG" />
<meta property="og:type" content="blog" />
<meta property="og:url" content="http://yourURL.com/" />
</head>
<body></body>
</html>
发布于 2017-10-28 19:43:40
http://api.s-shot.ru/?=(your url)
和https://s.wordpress.com/mshots/v1/(your url)
我希望这些能帮上忙!
https://stackoverflow.com/questions/16325655
复制相似问题