mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-06 08:16:46 +02:00
fix(rss): set person's avatar url to "federation" for width and height of 400px
This commit is contained in:
parent
b797a08f2e
commit
a50b0f330e
1 changed files with 2 additions and 2 deletions
|
|
@ -230,7 +230,7 @@ if (! function_exists('get_rss_feed')) {
|
|||
foreach ($person->roles as $role) {
|
||||
$personElement = $channel->addChild('person', $person->full_name, $podcastNamespace);
|
||||
|
||||
$personElement->addAttribute('img', get_avatar_url($person, 'medium'));
|
||||
$personElement->addAttribute('img', get_avatar_url($person, 'federation'));
|
||||
|
||||
if ($person->information_url !== null) {
|
||||
$personElement->addAttribute('href', $person->information_url);
|
||||
|
|
@ -435,7 +435,7 @@ if (! function_exists('get_rss_feed')) {
|
|||
esc(lang("PersonsTaxonomy.persons.{$role->group}.label", [], 'en')),
|
||||
);
|
||||
|
||||
$personElement->addAttribute('img', get_avatar_url($person, 'medium'));
|
||||
$personElement->addAttribute('img', get_avatar_url($person, 'federation'));
|
||||
|
||||
if ($person->information_url !== null) {
|
||||
$personElement->addAttribute('href', $person->information_url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue