Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教:如何设置封面图 #7

Open
senglez opened this issue Aug 5, 2020 · 2 comments
Open

请教:如何设置封面图 #7

senglez opened this issue Aug 5, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@senglez
Copy link

senglez commented Aug 5, 2020

怎么在配置文件中设置封面图呢?谢谢

@LinusLing LinusLing added the enhancement New feature or request label Aug 5, 2020
@LinusLing
Copy link
Owner

LinusLing commented Aug 5, 2020

目前暂不支持在配置文件中指定封面图。

当前的做法是根据当前日期推算出图片库中所需选中的 offset,后续自行手动去后台设置想要的封面。

由于封面图有两种方式:从正文选择/从图片库选择。

  1. 从正文选择,涉及正文图片的上传(微信图床),目前还没有解决;
  2. 从图片库选择,明确指定所需要的图片(多图片的分组分页?图片文件名匹配?图片文件本地上传?),目前也没有解决方案安排上。

如果有好的想法可以讨论,当然更加欢迎直接提交 PR 😬

@senglez
Copy link
Author

senglez commented Aug 5, 2020

在正文中先添加一个图文链接,然后代码从正文中提取这个图文链接再上传到微信公众号后台作为封面图,这样可以吗?

@LinusLing LinusLing added the help wanted Extra attention is needed label Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants