Forum Discussion
Images showing distorted on MS Teams due to inline style
We have a PVA bot running on MS Teams where the bot is rendering the content containing images (crawled from ServiceNOW) using a simple Message node. We see the images are distorted where as same images rendered properly on Canvas. We also observed inliine styles applied on these images which is probably causing the issue. Please suggest.
- Prasad_Das-MSFTMicrosoft
Karunakaran_GN - Could you please share the card JSON along with repro steps, so that we can try out once from our end?
- Karunakaran_GNCopper ContributorThanks for the reponse.
Unfortunatly we cannot shaer the JSON as this contains the images links which are private. We can have a call if possible so that we can walk you throught he issue.
Steps to reproduce,
1) Create a message content along with a image url
2) Fetch an dshow the message content in Message node in PVA topic
3) Publish this bot to Teams
4) Inspect the displayed image on Teams browser you can see some inlise styles applied- Prasad_Das-MSFTMicrosoft
Karunakaran_GN - We tried to repro this issue by creating a PVA Bot and publishing the Bot in MS Teams, however at our end the card having images is rendering fine.
Card JSON:
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Here is a ninja cat"
},
{
"type": "Image",
"url": "http://adaptivecards.io/content/cats/1.png"
}
]
}Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.