站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Using Gravatars
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==Gravatar是结构是怎样的== A Gravatar is a dynamic image resource that is requested from a server. The request URL is presented here, broken into its segments. The URL always begins with: Gravatar是动态的图像资源,可以从服务器中得到。需要的URL呈现在这里,分割成几段。URL通常开始是: <nowiki>http://www.gravatar.com/avatar.php?</nowiki> <nowiki>http://www.gravatar.com/avatar.php?</nowiki> A mandatory parameter named <tt>gravatar_id</tt> follows this. Its value is the hexadecimal MD5 hash of the requested users' email address with all whitespace trimmed. The value is case insensitive. 一个称为<tt>gravatar_id</tt>的命令参数遵循了这一点。数值是被请求的用户的电子邮件地址,但是去除了空格,十六进制的MD5 hash。参数值区分大小写。 gravatar_id=279aa12c3326f87c460aa4f31d18a065 gravatar_id=279aa12c3326f87c460aa4f31d18a065 An optional <tt>rating</tt> parameter may follow with a value of <tt>[ G | PG | R | X ]</tt> which determines the highest rating (inclusive) that will be returned. 可选择的<tt>rating</tt>参数后面可能有参数值<tt>[ G | PG | R | X ]</tt>,这个参数值决定了返回的最高级别(包含的)。 &rating=R &rating=R Gravatar offers a [http://gravatar.com/rating.php rate checking service] so you can determine your rate. Gravatar提供了[http://gravatar.com/rating.php rate checking 服务],因此你可以决定你的rate。 An optional <tt>size</tt> parameter may follow that specifies the desired width and height of the Gravatar. Valid values are from 1 to 80 inclusive. Any size other than 80 will cause the original Gravatar image to be downsampled using bicubic resampling before output. 可选择的<tt>大小</tt>参数可能会遵循规定的Gravatar的宽度和高度。有效的参数值包括1到80。除了80外的任何的大小会导致原始的Gravatar图像downsampled,使用bicubic resampling才能够产出。 &size=40 &size=40 An optional <tt>default</tt> parameter may follow that specifies the full [[WordPress:Glossary#URL|URL]], encoded URL, protocol included, of a GIF, JPEG, or PNG image that should be returned if either the requested email address has no associated gravatar, or that Gravatar has a rating higher than is allowed by the <tt>rating</tt> parameter. 可选择的<tt>默认</tt>参数可能遵循规定的完整的[[WordPress:Glossary#URL|URL]],编码的URL,包含的协议,如果被请求的电子邮件地址没有相关的gravatar或者Gravatar拥有的rating比<tt>rating</tt>参数中规定的要高,会返回GIF, JPEG, 或者 PNG 图像。 &default=http%3A%2F%2Fwww.somesite.com%2Fsomeimage.jpg &default=http%3A%2F%2Fwww.somesite.com%2Fsomeimage.jpg An optional <tt>border</tt> parameter may follow that specifies the hexadecimal value of a 1px border to be overlaid on the Gravatar. The supplied value may be either the full six character hex string (e.g. <tt>FF0000</tt> for red) or the abbreviated three character hex string (e.g. <tt>F00</tt> for red). 可选择的<tt>border</tt>参数可能遵循Gravatar覆盖的1px border的十六进制数值。提供的参数值可能是完整的六位字符的十六进制字符串(例如<tt>FF0000</tt>表示红色)或者简化的三个字符的十六进制字符串(例如<tt>F00</tt>表示红色)。 &border=FF0000 &border=FF0000
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)