Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Answered

Adaptive card won't scale its width

(0) ShareShare
ReportReport
Posted on by 122

Hi!

I am using the following adaptive card:

 

{
 "type": "AdaptiveCard",
 "body": [
 {
 "type": "Image",
 "width": "1300px",
 "height": "970px",
 
 "url": "https://i.ibb.co/sv4FQMq/Microsoft-Teams-image.png"
 }
 ],
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.0"
}

 

The issue is that, even thought it does scale in height, it doesn't get and bigger width as shown:

JuanArango_0-1704211596499.png

PD: added msTeams full width and I't wont be scaled to the entire width of the screen, It will be wider but not the entire width

 

  • Verified answer
    remidyon Profile Picture
    remidyon on at
    Re: Adaptive card won't scale its width

    Hi @JuanArango 

    There is a max width even in Teams (not sure what the actual limit is). I would recommend you use the property "allowExpand" so that users can click on the image and open it in full screen from Teams.

     

    https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cdesktop%2Cconnector-html#stage-view-for-images-in-adaptive-cards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics