How to display an Image based on content author role in view? I want to display an image in a view based on the role of the author of the content.
Lets say role "premium user". If the content author is not having the role just display an image placeholder ? What is the best way to do it ? Views PHP ?
Add relationships:


From node to it's author
From author to his role


Then add role field to display, and in tpl.php substitute it for your desired image.

You can read about relationships on http://example.org/help/views/relationship if you have Drupal installed (substitute example.org with your domain or localhost as needed) and advanced help on.