Fix media size

This commit is contained in:
Michael 2021-06-30 19:55:28 +00:00
parent 98dd4e889a
commit b46ad72651

View File

@ -1427,8 +1427,8 @@ class OStatus
$attributes = [ $attributes = [
"rel" => "avatar", "rel" => "avatar",
"type" => "image/jpeg", // To-Do? "type" => "image/jpeg", // To-Do?
"media:width" => ProxyUtils::SIZE_SMALL, "media:width" => ProxyUtils::PIXEL_SMALL,
"media:height" => ProxyUtils::SIZE_SMALL, "media:height" => ProxyUtils::PIXEL_SMALL,
"href" => Contact::getAvatarUrlForId($owner['id'], ProxyUtils::SIZE_SMALL, $owner['updated'])]; "href" => Contact::getAvatarUrlForId($owner['id'], ProxyUtils::SIZE_SMALL, $owner['updated'])];
XML::addElement($doc, $author, "link", "", $attributes); XML::addElement($doc, $author, "link", "", $attributes);