What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

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 stackoverflow.com Jan 19 '11 at 15:02

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

add comment

1 Answer 1

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 imgur.com 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? –  kilaka Feb 18 at 11:37
1  
@kilaka no: meta.stackexchange.com/questions/85498/… –  Nenotlep Mar 21 at 10:19
add comment

You must log in to answer this question.

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