[GitHub] Resize an image in an issue or pull request

Created on November 30, 2026

You can set the display width of an image in an issue or pull request description or comment by using an HTML img tag with a width attribute.

<img src="https://example.com/chart.png" alt="Monthly scores chart" width="100">

Replace the example URL with the image's URL and describe the image in the alt attribute. This example requests a width of 100 pixels. Use GitHub's Preview tab to check the size before submitting.

GitHub