When pasting images into Teams, what size do they have to be to not be placed in a larger grey box?

Nev Percy 20 Reputation points
2026-09-16T10:10:05.3633333+00:00

For example, I pasted this cut-down screenshot into a Chat post in MS Teams, and Teams put it inside a grey container.
It's not specific to 'Chat'; the same occurs in 'Teams and Channels'.
User's image

*(For searches in US English: "gray" "gray box" "gray container")

P.S. I could have done without the wait while this page used AI (electricity, water) to generate its mandatory Tag options for me to select.*

Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments

Answer accepted by question author
Killian N 4,145 Reputation points Independent Advisor
2026-09-16T11:10:28.8233333+00:00

Hi Nev,

There does not appear to be a documented pixel size that guarantees an image will be displayed without the grey container. Microsoft Teams automatically determines the size and layout of pasted-image previews, and there is currently no setting to control or remove that container.

This commonly affects small or narrow images, such as the cropped screenshot in your example. As a workaround, you can try:

  1. Add blank space to both sides of the image before pasting it. Increasing the image’s width may prevent the large grey container from appearing.
  2. Save and attach the screenshot by selecting Actions and apps > Attach file > Upload from this device, rather than pasting it directly. Teams will generate a preview, but it may be displayed differently. For reference: Send a file, picture, or link in Microsoft Teams.
  3. Click the posted image to view it at full size. The preview’s size and appearance are determined automatically by Teams and cannot currently be customized.

Since Teams currently does not provide manual controls for pasted-image preview dimensions, I strongly recommend submitting your suggestion through the Microsoft 365 Feedback Hub. This is the most effective way to ensure your feedback reaches the product team and is considered for future improvements.

User's image

Once you’ve submitted your feedback, feel free to share the link in the comments. I’ll be happy to upvote it to help increase its visibility.

Kind regards,

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.