diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-12-14 02:15:32 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-12-14 02:15:32 +0000 |
commit | cec532810a94ba3c1f0bd9ba05746258a67e1c7f (patch) | |
tree | 5afadbfce8f9e19098deb5d75161fac7c61ef924 | |
parent | f6cea9c614a5a86bc74940e1a7ade8f09481110e (diff) | |
download | forums-cec532810a94ba3c1f0bd9ba05746258a67e1c7f.tar forums-cec532810a94ba3c1f0bd9ba05746258a67e1c7f.tar.gz forums-cec532810a94ba3c1f0bd9ba05746258a67e1c7f.tar.bz2 forums-cec532810a94ba3c1f0bd9ba05746258a67e1c7f.tar.xz forums-cec532810a94ba3c1f0bd9ba05746258a67e1c7f.zip |
Avatar size is fixed for remote avatars
git-svn-id: file:///svn/phpbb/trunk@1564 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 09b10f08f8..758c547d82 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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=\"\" />"; |