Forum Discussion

steffenschoene's avatar
6 years ago

How to Display Node Avatars?

Hi, how can I display in frontend the Avatar of a Category/Board if someone set one in the admin backend? Is there a widget/component to show that or can I get the URL by an API Call? Greetin...
  • AmyS's avatar
    AmyS
    6 years ago

    Correct. Node avatar was added as part of the Group Hubs feature, but should work on any node.

     

    As you say, it may not be in the docs yet, but looking at internal builds I believe that if you see it in admin, it's available to use via its component: 

     

    <component id="nodes.widget.avatar"/>