Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How to add user pic in block. In default there is only block with username. Can it be done trough Views?
Comments
Comment #1
mrf CreditAttribution: mrf commentedYou should be able to add all of the user profile information to a view including the profile picture.
Comment #2
gkazhus CreditAttribution: gkazhus commentedYes I can get all users with pictures and so on but I need only those users who are in my friends list with pics not all users with pics
Comment #3
mrf CreditAttribution: mrf commentedTry with the attached view, its just the standard releationships/%uid view but includes the user profile picture.
Comment #4
gkazhus CreditAttribution: gkazhus commentedDo U have visual view how looks Views settings to this?
Comment #5
mrf CreditAttribution: mrf commentedYou can import the above view to see what it looks like.
The only change to the standard view is just adding the single profile picture field.