Drupal allows the use of user pictures known as avatars that can be displayed next to posts and comments made by registered users. You may want to disable this feature for your particular theme. Perhaps you wish to minimize bandwidth and not allow the images or disable them for abuse reasons. Whatever your reason, the tutorial below will demonstrate how to disable user images for posts and comments in Drupal 8.

How to disable user avatars for posts and comments

  1. Visit your site and log into your Drupal 8 admin interface.
  2. After you have succesfully logged in, click on Menu >> Appearance
  3. the configuration screen for the module This brings you to the main Appearance page, where you will see all the available active themes under Enabled Themes. Once you find the theme you want to work with, click on the Settings link to its right. For this tutorial we will be using the Bartik theme.
  4. the configuration screen for the module Now that you are on the settings page, scroll down to the Toggle Display section> Here you will see several settings with checkboxes for toggling. There are two settings here that are relevant to user images: User picture in posts and User picture in comments.. Click the checkboxes next to these two settings to disable the use of images.
  5. Once you have altered your settings, click on the Save Configuration button to save the changes. Now user images (or avatars) will not display next to any user created posts or comments. Here is a before and after comparison showing the difference between the user image being enabled and disabled.
    BeforeAfter
    the configuration screen for the modulethe configuration screen for the module
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Comments

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!