Here is an PR to customize the size of Adaptive-Card Image.
Current behavior: Element 'Image' has hard-coded size 'auto', hence, image scales to fit 100% of its container size.
Objective: In order to customize the size of element 'Image', new properties(horizontalAlignment, Size, Width, Height, pixelWidth, pixelHeight) are added to Image configuration of the Adaptive-Card.
Modification: Rather than hard-coded size as 'auto', modifications have made to extract 'Image' properties horizontalAlignment, Size, Width, pixelWidth, pixelHeight and Height, put them into configuration of Adaptive-Card.
horizontalAlignment: controls how this element is horizontally positioned within its parent,
with possible values as 'left', 'center', 'right'.
size: controls the approximate size of the image, with possible values as 'auto', 'stretch', 'small', 'medium', 'large'.
width: The desired on-screen width of the image. This overrides the size property.
pixelWidth: of type Number, existing for backwards compatibility. The pixelWidth property is deprecated and will be removed. Use the width property instead.
height: The desired on-screen height of the image. This overrides the size property.
pixelHeight: of type Number, existing for backwards compatibility. The pixelHeight property is deprecated and will be removed. Use the height property instead.
@TothiViseo , Hello,
Here is an PR to customize the size of Adaptive-Card Image.
Current behavior: Element 'Image' has hard-coded size 'auto', hence, image scales to fit 100% of its container size.
Objective: In order to customize the size of element 'Image', new properties(horizontalAlignment, Size, Width, Height, pixelWidth, pixelHeight) are added to Image configuration of the Adaptive-Card.
Modification: Rather than hard-coded size as 'auto', modifications have made to extract 'Image' properties horizontalAlignment, Size, Width, pixelWidth, pixelHeight and Height, put them into configuration of Adaptive-Card.
Reference: 1.adaptivecard explorer
Thanks in advance!