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

订阅源中的base64 thumbnail无法被正确显示 #277

Open
rbforelle opened this issue Apr 28, 2023 · 0 comments
Open

订阅源中的base64 thumbnail无法被正确显示 #277

rbforelle opened this issue Apr 28, 2023 · 0 comments

Comments

@rbforelle
Copy link

rbforelle commented Apr 28, 2023

我用rsshub生成的订阅源中有内嵌的thumbnail,格式如下:

<description>
<![CDATA[ <img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASAxxxxxxxxxxxxxxxxxxxxxxxxxxxx" alt="thumbnail" referrerpolicy="no-referrer"> ]]>
</description>

但telegram bot发送的消息中只显示了"thumbnail",却没有显示图片,请问是什么原因?搜索了下好像没有看到相关issue。
图片大小例如为250×350,单独复制base64的值然后解码成jpg图片是可以的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant