Gravatar 又可以用了

好久前 Gravatar 被墙,导致很多使用该头像服务的网站如 WordPress 不能正常显示用户头像,今天发现使用 https 的地址可正常请求。

Secure Requests

If you’re displaying Gravatars on a page that is being served over SSL (e.g. the page URL starts with HTTPS), then you’ll want to serve your Gravatars via SSL as well, otherwise you’ll get annoying security warnings in most browsers. To do this, simply change the URL for your Gravatars so that is starts with:

https://secure.gravatar.com/...

这里举一个 Gravatar 的栗子:

<img src="https://secure.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d51?d=mm&s=200">

更多使用详细请查看:
https://secure.gravatar.com/site/implement/images/

您可能还喜欢

共有 1 条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Time limit is exhausted. Please reload CAPTCHA.