We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c9bb9a39 authored by tobyink's avatar tobyink

Constrain avatar size.

parent 96a5db52
......@@ -79,7 +79,7 @@
<dt id="dfn_avatar_uri">Avatar URL</dt>
<dd>The web address for a picture to represent you on libre.fm. It should
not be more than 80x80 pixels. If you leave this empty, libre.fm will
not be more than 80x80 pixels. (64x64 is best.) If you leave this empty, libre.fm will
use <a href="http://gravatar.com">Gravatar</a> to find an image for you.</dd>
<dt id="dfn_id">WebID (FOAF)</dt>
......
......@@ -2,7 +2,7 @@
<div class="avatar" rel="foaf:depiction">
<!-- Avatar placeholder -->
<img src="{$me->getAvatar()|escape:'html':'UTF-8'}" alt="avatar" class="photo" />
<img src="{$me->getAvatar()|escape:'html':'UTF-8'}" alt="avatar" class="photo" width="64" height="64" />
</div>
<dl>
......
......@@ -5,7 +5,7 @@
<div class="avatar" rel="foaf:depiction">
<!-- Avatar placeholder -->
<img src="{$avatar|escape:'html':'UTF-8'}" alt="avatar" class="photo" />
<img src="{$avatar|escape:'html':'UTF-8'}" alt="avatar" class="photo" width="64" height="64" />
</div>
{if $isme}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment