# Change avatar icon or image in RadzenProfileMenu

**URL:** <https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080>\
**Category:** Radzen.Blazor Components\
**Created:** [February 9, 2023, 9:10am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080 "2023-02-09T09:10:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Dream](https://forum.radzen.com/user_avatar/forum.radzen.com/paul_dream/32/13252_2.png) [@Paul\_Dream](https://forum.radzen.com/u/Paul_Dream)\
**Post date:** [February 9, 2023, 9:10am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/1 "2023-02-09T09:10:32Z")

</div>

I can't find any example of how to change the avatar icon of the RadzenProfileMenu , can someone show me how? Thank you

![image](https://forum.radzen.com/uploads/default/original/2X/6/66308ee981a1c39d5412a8ac455bef63ec169b40.png)

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [February 9, 2023, 9:22am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/2 "2023-02-09T09:22:37Z")

</div>

You can set anything using the template:

 ![image](https://forum.radzen.com/uploads/default/original/2X/e/eba7b3d153c49f27b1197fee9440c63fe59f8043.png)

---

<div class="post-metadata">

**Author:** ![Paul\_Dream](https://forum.radzen.com/user_avatar/forum.radzen.com/paul_dream/32/13252_2.png) [@Paul\_Dream](https://forum.radzen.com/u/Paul_Dream)\
**Post date:** [February 9, 2023, 10:15am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/3 "2023-02-09T10:15:16Z")

</div>

Thanks for the help, but in my case I need a custom image with image path

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [February 9, 2023, 10:33am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/4 "2023-02-09T10:33:33Z")

</div>

You can use arbitrary components in the template for example `<RadzenImage Path="/path/to/avatar.jpg" />`

---

<div class="post-metadata">

**Author:** ![Paul\_Dream](https://forum.radzen.com/user_avatar/forum.radzen.com/paul_dream/32/13252_2.png) [@Paul\_Dream](https://forum.radzen.com/u/Paul_Dream)\
**Post date:** [February 9, 2023, 10:53am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/5 "2023-02-09T10:53:59Z")

</div>

> [@korchev](#):
>

Yes thanks, I had already tried that before asking, but I don't know why this example image of my google avatar works in RadzenImage, but inside the template it doesn't change my avatar. Is there a problem with the format?

```auto
<RadzenProfileMenu Click="@ProfileMenuClick">
                            <Template>
                                <RadzenImage Path="https://lh3.googleusercontent.com/a/AEdFTp6BvFfy_hLFjhFL8l0FR7ACg69ij08jOThIv4nqj4U=s96-c" style="width: 64px"></RadzenImage>
                            </Template>
                            <ChildContent>
                                <RadzenProfileMenuItem Path="Account/LoginGoogle" Icon="login" Text="Login" />
                            </ChildContent>
                            <Template>
                                @Security.User?.Name
                                <RadzenGravatar Email="@Security.User?.Name" />
                            </Template>
                        </RadzenProfileMenu>

```

![image](https://forum.radzen.com/uploads/default/original/2X/c/c256a82cb1ff9305b97a98746530b29337bd7a5b.png)  
Here you can see how it looks if I put it before the component

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [February 9, 2023, 11:21am UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/6 "2023-02-09T11:21:25Z")

</div>

Delete the second `Template`.

---

<div class="post-metadata">

**Author:** ![Paul\_Dream](https://forum.radzen.com/user_avatar/forum.radzen.com/paul_dream/32/13252_2.png) [@Paul\_Dream](https://forum.radzen.com/u/Paul_Dream)\
**Post date:** [February 9, 2023, 2:02pm UTC](https://forum.radzen.com/t/change-avatar-icon-or-image-in-radzenprofilemenu/13080/7 "2023-02-09T14:02:38Z")

</div>

thank you very much korchev, that was all. I really was convinced that it was within the child content and not that it was replacing it. Excuse my stupidity.
