Original link: https://yunfanch.com/website/1943.html
Gravatar is the abbreviation of Globally Recognized Avatar, which is a service launched by gravatar, which means “global universal avatar”. If you have placed your own avatar on Gravatar’s server, then when you leave a message on any blog or guestbook that supports Gravatar, you can display your Gravatar avatar as long as you provide the email address associated with this avatar.
The loading of the comment avatar slows down the speed of the web page. Since the default avatar address is relatively slow, it can be replaced with a faster cdn acceleration address.
Modify the /var/Typecho/Common.php file, comment out lines 937 and 938, and add a line
937 //$url = $isSecure ? 'https://secure.gravatar.com' : 'http://www.gravatar.com'; 938 $url = $isSecure ? 'https://gravatar.loli.net' : 'https://sdn.geekzu.org/avatar/'; 939 $url .= '/avatar/';
https://gravatar.loli.net/avatar/ https://sdn.geekzu.org/avatar/ https://avatar.zrahh.com/avatar/ https://sdn.geekzu.org/avatar/ https://cdn.v2ex.com/gravatar/
2022-06-30 The test is also unstable and cannot be used occasionally. It is recommended to use Cravatar
Domestic avatar source Cravatar
Cravatar is perfectly compatible with all Gravatar avatar API interfaces, and if you have not set an avatar in Cravatar, you will first try…
This article is reprinted from: https://yunfanch.com/website/1943.html
This site is for inclusion only, and the copyright belongs to the original author.