Skip to content
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.

[功能请求] 添加 Telegram 等社交媒体链接预览图像 #93

Open
sengoku-f opened this issue Jan 28, 2021 · 0 comments
Open

[功能请求] 添加 Telegram 等社交媒体链接预览图像 #93

sengoku-f opened this issue Jan 28, 2021 · 0 comments
Labels
enhancement New feature or request todo Feature to be implemented

Comments

@sengoku-f
Copy link

自己修改了一下,现在可以显示预览
目前所有文件都会添加 meta 标签,不知道如何判断文件为图片才添加 meta 标签

<meta property="og:image" content="${fileurl}" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="${fileurl}" />

image

@spencerwooo spencerwooo added enhancement New feature or request todo Feature to be implemented labels Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request todo Feature to be implemented
Projects
None yet
Development

No branches or pull requests

2 participants