Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Sometimes I need to upload an image to a question or answer. How can I do that?

Return to FAQ index

share|improve this question

migrated from Jan 19 '11 at 15:02

This question came from our site for professional and enthusiast programmers.

As a note for followers, you don't "have" to upload an image, you can just link to it if desired: though then foreign hosted images might expire so it may be worth it to upload anyway... – rogerdpack Jan 1 at 19:51

As explained when image hosting was introduced:

adding a picture to a question or answer is now as easy as …

  1. Clicking the Insert Image toolbar button toolbar button

  2. Selecting an image from your computer, or the web

  3. Clicking Upload

After that, replace the default "enter image description here" with something meaningful for browsers that do not support images.

Steps for image upload

Even when selecting "from the web", the image will be copied to the Stack Exchange Imgur account, and hence will be safe from expiring.

If you just want a link to an image:

  1. Use the steps above
  2. Remove the leading exclamation point from the result: [click for my image][5]

If you really want to hardlink images from another source, without copying them to the Stack Exchange Imgur account:

  1. Use the link tool to make a regular link to the image
  2. Prepend the link with an exclamation point: ![Image description][6]

Bear in mind that:

  • To make it easier to find relevant information using search engines, be sure to copy important text into your post too. (Messages from popup dialogs can often simply be copied using Ctrl-C or Command-C.)

  • For the screen readers of visually impaired, for browsers that don't show images, for cases where Imgur is blocked, and for search engine indexes: please enter a good description.

  • Whenever possible, use the Stack Exchange provided hosting as described above. This uses an Pro account, which ensures images are never lost. Images on free Imgur accounts, and on many other free image hosters, will expire if not requested every now and then. The post should be useful for future visitors too.

share|improve this answer
Can this be done in comments? – AlikElzin-kilaka Feb 18 '14 at 11:37
@kilaka no:… – Nenotlep Mar 21 '14 at 10:19
Is it possible to set the size of the image? – popnoodles Sep 3 '15 at 16:04
@popnoodles You can resize images afterwards just by adding a letter to the URL the uploader inserts. – SevenSidedDie Sep 17 '15 at 23:52
Where is this button for Questions? – Zaibis Feb 23 at 12:00
There is no button like that in mobile ! – azerafati Apr 8 at 17:51

You must log in to answer this question.

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