Remove avatar field in user details

LabKey Support Forum
Remove avatar field in user details WayneH  2019-06-17 08:30
Status: Closed
 

Good morning,
not sure if anyone else has had this issue or question but we wanted to remove the avatar field from the user profile/user details view for a project and can't seem to find a way to do so.. The field is hidden in the default user view but this seems to have no impact on what shows when users edit their profile..

We welcome any ideas..

Thanks,

 
 
Jon (LabKey DevOps) responded:  2019-07-02 16:57
Hi Wayne,

You can use CSS to hide the Avatar value. The fieldname "Avatar" would still appear since there's no specific attribute to hide that, but you can at least hide the button to upload the image file and if someone already managed to upload the file, you can prevent the image from appearing using the CSS code "display: none" as described here:

https://www.w3schools.com/css/css_display_visibility.asp

You would just need to debug the page and identify the specific values that are unique to the Avatar, then create your CSS file and upload it to the Look and Feel settings of your LabKey instance:

https://www.labkey.org/Documentation/wiki-page.view?name=customizeLook#resources

Regards,

Jon
 
WayneH responded:  2019-11-05 08:48
thanks.