Skip to content

Commit 6dd2861

Browse files
ChristopherChristopher
authored andcommitted
unravel abbreviations
tsk, tsk, abbreviations are bad form…
1 parent 3953ffa commit 6dd2861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

html-templates/subtemplates/people.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{if $Person->PrimaryPhoto}
1313
{$src = $Person->PrimaryPhoto->getThumbnailRequest($pixels, $pixels, null, $forceSquare)}
1414
{else}
15-
{$src = cat("//www.gravatar.com/avatar/", md5(strtolower($Person->Email)), "?s=", $pixels, "&r=g&default=monsterid")}
15+
{$src = cat("//www.gravatar.com/avatar/", md5(strtolower($Person->Email)), "?size=", $pixels, "&rating=g&default=monsterid")}
1616
{/if}
1717

1818
{if $urlOnly}
@@ -32,7 +32,7 @@
3232
{if $Person->PrimaryPhoto}
3333
{$src = $Person->PrimaryPhoto->getThumbnailRequest($pixels, $pixels)}
3434
{else}
35-
{$src = cat("//www.gravatar.com/avatar/", md5(strtolower($Person->Email)), "?s=", $pixels, "&r=g&default=monsterid")}
35+
{$src = cat("//www.gravatar.com/avatar/", md5(strtolower($Person->Email)), "?size=", $pixels, "&rating=g&default=monsterid")}
3636
{/if}
3737
<img src="{$src}" class="avatar {if $imgCls}{$imgCls}{/if}" width="{$photoSize}" height="{$photoSize}" />
3838
{/if}

0 commit comments

Comments
 (0)