set max-height of user image to 150px

This commit is contained in:
Uwe Steinmann 2023-09-27 11:31:50 +02:00
parent 2213ea7e29
commit b8ded0fed7

View File

@ -407,7 +407,7 @@ $(document).ready( function() {
if ($currUser) {
$this->formField(
getMLText("user_image"),
($currUser->hasImage() ? "<img src=\"".$httproot."out/out.UserImage.php?userid=".$currUser->getId()."\">" : getMLText('no_user_image'))
($currUser->hasImage() ? "<img src=\"".$httproot."out/out.UserImage.php?userid=".$currUser->getId()."\" style=\"max-height: 150px;\">" : getMLText('no_user_image'))
);
$this->formField(
getMLText("new_user_image"),