40

How do you add a screenshot image to your Stack Overflow question?

4

1 Answer 1

57

In your toolbar when typing/editing a question you just click the button above (typical image-button with landscape in a frame), then simply drag to upload a picture, or paste the URL to one if you're hosting it elsewhere.

screenshot of editing toolbar

You can also type the following to embed an image. The syntax is called Markdown. Here is more information to help you with the formatting

[![image description][1]][1]

[1]: https://i.sstatic.net/f7zys.png
4
  • 9
    This also works then ![](https://i.sstatic.net/f7zys.png). Commented Apr 22, 2021 at 7:16
  • 5
    @Friedrich's comment is great, but note that adding 'alternative text' in [] is kind toward people who use assistive technology (or need translation). So if only you can always describe the photo in a few words, like this: ![description what is in the picture](https://i.sstatic.net/f7zys.png)
    – drpawelo
    Commented Jun 16, 2022 at 15:25
  • Just note that there must be a blank line between the markdown shown and other content
    – Roland
    Commented Dec 17, 2023 at 0:10
  • 2
    You don't have to search for and find that button. All you have to do is (when you are logged in) make sure the cursor is in the text field (where you write the question), copy the image (when making screenshot) and paste it Commented Jul 5 at 13:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .