mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:10:11 +00:00
Improved avatar handling (timestamps for caching)
This commit is contained in:
parent
97556aa69c
commit
9edc75e29d
3 changed files with 59 additions and 18 deletions
|
@ -507,9 +507,9 @@ class Profile
|
|||
$p['address'] = BBCode::convert($p['address']);
|
||||
}
|
||||
|
||||
$p['photo'] = Contact::getAvatarUrlForId($cid);
|
||||
$p['photo'] = Contact::getAvatarUrlForId($cid, ProxyUtils::SIZE_SMALL);
|
||||
|
||||
$p['url'] = Contact::magicLink($profile_url);
|
||||
$p['url'] = Contact::magicLinkById($cid);
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('profile/vcard.tpl');
|
||||
$o .= Renderer::replaceMacros($tpl, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue