diff --git a/main/css/base.css b/main/css/base.css index 38236aa925..cc1df51083 100755 --- a/main/css/base.css +++ b/main/css/base.css @@ -5421,3 +5421,14 @@ i.size-32.icon-new-work{ vertical-align: bottom; margin-right: 5px; } + +/** + * Modal for user avatar preview + * @author Angel Fernando Quiroz Campos + */ +#expand-image-modal img { + display: block; + height: auto; + margin: auto; + max-width: 100%; +} diff --git a/main/inc/lib/social.lib.php b/main/inc/lib/social.lib.php index e5ade7042b..e04f50f292 100755 --- a/main/inc/lib/social.lib.php +++ b/main/inc/lib/social.lib.php @@ -618,7 +618,7 @@ class SocialManager extends UserManager //--- User image if ($img_array['file'] != 'unknown.jpg') { - $html .= ' '; + $html .= ' '; } else { $html .= ''; } diff --git a/main/template/default/layout/footer.tpl b/main/template/default/layout/footer.tpl index d09cec513e..ce216d795a 100755 --- a/main/template/default/layout/footer.tpl +++ b/main/template/default/layout/footer.tpl @@ -60,6 +60,19 @@ {# Extra footer configured in admin section, only shown to non-admins #} {{ footer_extra_content }} + +