make directory images a wee bit larger

This commit is contained in:
Mike Macgirvin 2023-11-19 08:10:44 +11:00
parent 137514f6cc
commit 3aecbe4cff
2 changed files with 7 additions and 4 deletions

View file

@ -378,6 +378,7 @@ class Directory extends Controller
$hometown = ((x($profile, 'hometown') == 1) ? html2plain($profile['hometown']) : false);
$about = ((x($profile, 'about') == 1) ? zidify_links(bbcode($profile['about'])) : false);
$author_menu = thread_author_menu(['xchan_author' => $rr['hash'], ['author' => ['xchan_network' => $rr['network']]]]);
$keywords = ((x($profile, 'keywords')) ? $profile['keywords'] : '');
$out = '';
@ -416,7 +417,8 @@ class Directory extends Controller
'id' => ++$t,
'profile_link' => $profile_link,
'type' => $rr['type'],
'photo' => $rr['photo'],
'photo' => $rr['photo_l'],
'photo_l' => $rr['photo_l'],
'cover' => (($covers) ? XConfig::Get($rr['hash'],'system','cover_photo') : false),
'altcover' => t('Cover photo for this directory entry'),
'hash' => $rr['hash'],
@ -433,6 +435,7 @@ class Directory extends Controller
'gender' => $gender,
'pdesc' => $pdesc,
'pdesc_label' => t('Description:'),
'author_menu' => $author_menu,
'censor' => (($directory_admin) ? 'dircensor/' . $rr['hash'] : ''),
'censor_label' => (($rr['censored']) ? t('Uncensor') : t('Censor')),
'marital' => $marital,
@ -513,7 +516,7 @@ class Directory extends Controller
echo $o;
killme();
} else {
$maxheight = 94;
$maxheight = 180;
$dirtitle = (($globaldir) ? t('Directory') : t('Local Directory'));
$item_scroll = get_pconfig(local_channel(), 'system', 'item_scroll');

View file

@ -1,6 +1,6 @@
.directory-photo-img {
width: 80px;
height: 80px;
width: 150px;
height: 150px;
border: none;
}