mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Avatar size is fixed for remote avatars
git-svn-id: file:///svn/phpbb/trunk@1564 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f6cea9c614
commit
cec532810a
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ for($i = 0; $i < $total_posts; $i++)
|
|||
$poster_avatar = ( $board_config['avatar_upload_db'] ) ? "<img src=\"avatar.$phpEx?p=" . $postrow[$i]['post_id'] . "\" alt=\"\" />" : "<img src=\"" . $board_config['avatar_path'] . "/" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"\" />";
|
||||
break;
|
||||
case USER_AVATAR_REMOTE:
|
||||
$poster_avatar = "<img src=\"" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"\" />";
|
||||
$poster_avatar = "<img src=\"" . $postrow[$i]['user_avatar'] . "\" width=\"".$board_config['avatar_max_width']."\" height=\"".$board_config['avatar_max_height']."\" alt=\"\" border=\"\" />";
|
||||
break;
|
||||
case USER_AVATAR_GALLERY:
|
||||
$poster_avatar = "<img src=\"" . $board_config['avatar_gallery_path'] . "/" . $postrow[$i]['user_avatar'] . "\" alt=\"\" border=\"\" />";
|
||||
|
|
Loading…
Add table
Reference in a new issue