I needed to reference an image in a comment to an answer, but it's not possible to upload a picture in a comment. So I used the workaround to edit the answer post, upload the image and delete the added image and text in the answer, ending up with a stack.imgur.com image link. I did this because the image is related to the answer.

Why it's not possible to upload an image in a comment?

  • 2
    That's a good enough workaround, why would you need anything more? – yannis Sep 5 '12 at 13:35
  • 1
    I think it's a usability fail because it's inconvenient. – BuZZ-dEE Sep 5 '12 at 13:36
  • Well, true, but how often do you really need to include an image in a comment? – yannis Sep 5 '12 at 13:37
  • 1
    I don't know, how often I need that, but I know I needed that in my first stackoverflow question. – BuZZ-dEE Sep 5 '12 at 13:40
  • 1
    Hm, I think that image should go into the question itself... – yannis Sep 5 '12 at 13:49
  • Hmm, but the is related the the answer. – BuZZ-dEE Sep 5 '12 at 13:51
  • 1
    Edit your answer and write something like "I tried Jeen Broekstra's suggestion, but I get these errors" and include the image. It might only be relevant to the one answer, but it provides information that others' might pick up on and help you find a solution. – yannis Sep 5 '12 at 13:53
  • Okay, I do that. – BuZZ-dEE Sep 5 '12 at 13:54

If you don't add the image to your question because it is not relevant for the question itself, you can start writing an answer, and add the image to the answer using the post toolbar. You copy the link to the uploaded image, and use it to write your comment, writing the link as [screenshot](http://i.stack.imgur.com/lXfJu.png), for example. After you copied the link, you can discard the answer you wrote using the "discard" link. The link doesn't appear immediately; if you don't see it, wait some seconds, and it will appear.

As suggested by Yannis Rizos, I would rather write that in the question, as it is relevant for everybody who answers your question. Clearly, I would not write "I tried what @username suggested, and it doesn't work for me" for every user who answers the question, but I would add a note in the question if I can give more information that can be useful to who answers the question.

You must log in to answer this question.

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