cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Leeyong88
Advocate III
Advocate III

Change Avatar In my PVA BOT

Hi Everyone, 

 

Anyone has problem when changing Avatar image for BOT? I tried different URL it seems doesn't change.

 

const styleOptions = {

// Add styleOptions to customize web chat canvas
botAvatarImage: 'https://docs.microsoft.com/en-us/azure/bot-service/v4sdk/media/logo_bot.svg',
userAvatarImage: 'https://imgur.com/gallery/xuaBT44',

// Suggested actions
suggestedActionLayout: 'stacked',


};

UserAvatarUnchange.JPG

 

Any tips /suggestion to fix this ? 

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @Leeyong88 ,

 

You need to use the image like .png, .jpg, .svg, or something like that.

This URL is a website link: https://imgur.com/gallery/xuaBT44

You can use this image (I opened your website, click on the right mouse button, open image): https://i.imgur.com/xuaBT44.png 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

3 REPLIES 3
renatoromao
Super User
Super User

Hi @Leeyong88 ,

 

You need to use the image like .png, .jpg, .svg, or something like that.

This URL is a website link: https://imgur.com/gallery/xuaBT44

You can use this image (I opened your website, click on the right mouse button, open image): https://i.imgur.com/xuaBT44.png 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

I got it right now!!Thanks!!

Anonymous
Not applicable

Hello,

 

Can you please guide me how to make these changes or rather where do we make these changes on chatbot to get avatar changed? Also, is there anyway we can change the avatar for user (user's picture from Teams or Azure Directory)?

 

Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Users online (4,232)