Giter Site home page Giter Site logo

Comments (7)

carolcoral avatar carolcoral commented on June 12, 2024 3

随机头像可以考虑使用改rep,感觉好看点:https://github.com/multiavatar/Multiavatar

from halo.

adozhao avatar adozhao commented on June 12, 2024 2

默认直接搞 ryanc 的头像吧, 毕竟那么帅
03736097

from halo.

carolcoral avatar carolcoral commented on June 12, 2024 1

ryanc

ryan 头像?感觉可能不太合适,没有提供可用的api或js钩子呢

from halo.

carolcoral avatar carolcoral commented on June 12, 2024

获取QQ头像接口:http://q.qlogo.cn/headimg_dl?dst_uin=QQ号码&spec=140&img_type=jpg

from halo.

ruibaby avatar ruibaby commented on June 12, 2024

感谢反馈此问题,后续将在评论组件中兼容 Gravatar,会根据邮箱生成 Gravatar 链接,halo-dev/plugin-comment-widget#97

但 QQ 似乎不是很好支持,如果要支持还需要让访客填写 QQ,并且没有字段用于存储这个信息。我不认为这是一个好的方案,并且也不是类似于 Gravatar 的公共头像服务。

/triage duplicate

from halo.

carolcoral avatar carolcoral commented on June 12, 2024

感谢反馈此问题,后续将在评论组件中兼容 Gravatar,会根据邮箱生成 Gravatar 链接,halo-dev/plugin-comment-widget#97

但 QQ 似乎不是很好支持,如果要支持还需要让访客填写 QQ,并且没有字段用于存储这个信息。我不认为这是一个好的方案,并且也不是类似于 Gravatar 的公共头像服务。

/triage duplicate

可以考虑使用邮箱字段:

  1. 判断当前用户是否已登录,如果登录则使用登录账号的头像
  2. 如果未登录则判断当前填写的邮箱内容后缀为 @qq.com 则获取前面的QQ号码生成QQ头像即可,否则就使用avatar随机头像

from halo.

guqing avatar guqing commented on June 12, 2024

随机头像可以考虑使用改rep,感觉好看点:multiavatar/Multiavatar

有想过,或许可以

from halo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.