I've looked all around the forums, and many people ask about disabling user profile pictures here and there, in the forums or just for pages etc. I would like to globally disable the profile picture functionality, ideally not even give users the option to upload a profile picture. I refuse to believe you can't do this, but I've had a very hard time figuring out how. I have gone into user settings and disabled picture support, and I have gone into adminbar > site building > themes > configure and disabled "user pictures in posts" and "user pictures in comments". This is helpful, but users can still have a profile picture, which I can't allow. I would really appreciate any help anyone can offer me!

Thanks,
Ryan

Comments

mrwhizkid’s picture

Drupal 7: admin/config/people/accounts (personalization)

Drupal 6: admin/user/settings (disable picture support)

Ubunfu’s picture

Thanks for the reply, although

I have gone into user settings and disabled picture support,

without success in the matter.

mrwhizkid’s picture

Sorry about that...somehow I missed that in your original post.

Do you mean to say that even with the picture support turned off, users can still upload a picture? That doesn't sound right.

Ubunfu’s picture

Ah, I found the issue! While staring into the soul of the permissions page, I noticed it said they take effect unless overwritten by the theme files...so I went into my mess of a theme directory and found the comment.tpl.php file. Turns out all i needed to do was comment out a bit of that that inserted the picture. Thanks again for posting anyway.

Ubunfu’s picture

Sorry about the delay! Yea, I have disabled pictures by both methods above, and users can still upload a picture, and it will display whenever they post.

pgdagenais’s picture

If needed you can disable the option in the database with this command.
drush vset user_pictures 0

Anonymous’s picture

Currently i'm on D6.and In my case i was not able to save the configuration from user setting page. due to repeated error.
from terminal

drush vset user_pictures 0

Helped a lot to disable profile picture from account setting pag

Thanx #tchevass