• A custom image field has been added to the user entity, this field contains a default image for users, which should display if an user doesn't add an image. This field is used on multiple templates across the site.


  • Only at the user's profile page is the default image displaying when the image is not set (if set will show the image).
  • Node templates and other entities will not display the default image. I tried to display the field with theme_image() with no success.


  • Why won't it display the default image?

When I dump the information about the fields attached to the current user, the field_picture is an empty array if the user has no image set. When the user does have an image set it will return this


  • Field name: field_picture
  • Field type: picture
  • Field module: default image field module.

1 Answer 1


try: make sure in the field settings you have set BOTH default images. There is one specific to that instance of the field, and one everywhere else it is used. The second is further down the screen:


These settings apply to the Image field everywhere it is used.

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.