Forum Discussion
Can't add border onto Adaptive Cards images or render images in tables in Teams
najin91 - Thanks for raising your issue. Could you please let us know if you are facing this issue in Teams classic or New Teams?
Also, regarding your question about the version support of Adaptive Cards in Microsoft Teams, as of now, Microsoft Teams supports Adaptive Cards version 1.5 or below. There is no official information available about when higher versions will be supported.
- najin91Feb 06, 2024Copper ContributorNew Teams: Version 23335.208.2601.834 (23335.208.2601.834)
Also, Teams on mac specifically.- Prasad_Das-MSFTFeb 06, 2024
Microsoft
najin91 - To add a border to an image in an Adaptive Card in Microsoft Teams, you can use a
Containerelement with astyleproperty set toemphasis.Then, place theImageelement inside theContainer.{ "type": "AdaptiveCard", "body": [ { "type": "Container", "style": "emphasis", "items": [ { "type": "Image", "url": "https://adaptivecards.io/content/cats/1.png" } ] } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.2" }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. Click here to escalate.