X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdisplay.php;h=6b345e6302d1640d572a44c34ca5b099623091cf;hb=388847e1f371554f50613357de06cf4a6ec751c9;hp=46574bd064e509c60ba98da0bccdc68147623d23;hpb=14e17b944fb992317ccccdfeff9b9906b15ef44f;p=friendica.git diff --git a/mod/display.php b/mod/display.php index 46574bd064..6b345e6302 100644 --- a/mod/display.php +++ b/mod/display.php @@ -97,7 +97,7 @@ function display_fetchauthor($a, $item) { $profiledata["nickname"] = $item["author-name"]; $profiledata["name"] = $item["author-name"]; $profiledata["picdate"] = ""; - $profiledata["photo"] = proxy_url($item["author-avatar"]); + $profiledata["photo"] = proxy_url($item["author-avatar"], false, PROXY_SIZE_SMALL); $profiledata["url"] = $item["author-link"]; $profiledata["network"] = $item["network"]; @@ -174,7 +174,7 @@ function display_fetchauthor($a, $item) { $r[0]["about"] = ""; } - $profiledata["photo"] = proxy_url($r[0]["photo"]); + $profiledata["photo"] = proxy_url($r[0]["photo"], false, PROXY_SIZE_SMALL); $profiledata["address"] = bbcode($r[0]["location"]); $profiledata["about"] = bbcode($r[0]["about"]); if ($r[0]["nick"] != "") @@ -185,7 +185,7 @@ function display_fetchauthor($a, $item) { $r = q("SELECT `avatar`, `nick`, `location`, `about` FROM `unique_contacts` WHERE `url` = '%s'", dbesc(normalise_link($profiledata["url"]))); if (count($r)) { if ($profiledata["photo"] == "") - $profiledata["photo"] = proxy_url($r[0]["avatar"]); + $profiledata["photo"] = proxy_url($r[0]["avatar"], false, PROXY_SIZE_SMALL); if (($profiledata["address"] == "") AND ($profiledata["network"] != NETWORK_DIASPORA)) $profiledata["address"] = bbcode($r[0]["location"]); if (($profiledata["about"] == "") AND ($profiledata["network"] != NETWORK_DIASPORA))