Use case: On my site, I need a workflow that allows user pictures to be approved. Users submit images using a special content type. Of these images, they must designate one as their user picture. I use the Rules module to manage the approval workflow.

I managed to get everything set up in Rules so that the picture they designate shows up in their profile appropriately. However, many modules (such as Privatemsg) make use of Drupal's default user picture. Is there a way to set the Drupal user picture value with the value from the uploaded field?

1 Answer 1


A quick grep through privatemsg shows that it is using theme('user_picture'...) so you should be able to copy user-picture.tpl.php from "drupalroot"/modules/user to your theme and edit it to your specifics...just flush caches :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.