How do you add a screenshot image to your Stack Overflow question?
1 Answer
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.
You can also manually type the following to embed an image:
[![image description][1]][1]
[1]: https://i.sstatic.net/f7zys.png
The syntax is called Markdown, which you can read about in the Help Center.
NOTE: While there are valid situations for adding a screenshot or other image to your question, you should not upload images of code, data, or error messages. These should instead be copied and pasted into your question as plain text. (Format the block as code by selecting it and clicking the { } button in the toolbar to ensure that it is readable.)
-
9This also works then
.Friedrich -- Слава Україні– Friedrich -- Слава Україні2021-04-22 07:16:26 +00:00Commented Apr 22, 2021 at 7:16 -
6@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:
drpawelo– drpawelo2022-06-16 15:25:18 +00:00Commented Jun 16, 2022 at 15:25 -
Just note that there must be a blank line between the markdown shown and other contentRoland Kwee– Roland Kwee2023-12-17 00:10:02 +00:00Commented Dec 17, 2023 at 0:10
-
2You 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 itRobin Manoli– Robin Manoli2024-07-05 13:18:23 +00:00Commented Jul 5, 2024 at 13:18
