Scaling images in Teams popup modal

Copper Contributor


I'm using the Share To Teams button on a webpage, using this documentation

When I press the button and the popup/preview modal is displayed, the image gets cropped.

See original-image and popup-image in the attachments.


My first question is whether it's possible or not to pass metadata to scale the image differently?

Also, instead of using the popup-image that gets displayed, is it possible to show the page that the link goes to as an image in the popup module?


Thanks in advance!

1 Reply

@emilpetersson , Yes you can pass the meta-data and scale the image. If you use the link it will open up in browser not within teams