As explained when image hosting was introduced:
adding a picture to a question or answer is now as easy as …
- Clicking the Insert Image toolbar button
- Selecting an image from your computer, or the web
- Clicking Upload
After that, replace the default "enter image description here" with something meaningful. 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.
Even when selecting "from the web", the image will be copied to the Stack Exchange Imgur account, and hence will stay even if the original image link is broken.
If you just want a link to an image:
- Use the steps above
- Remove the leading exclamation point from the result:
[click for my image]
If you really want to hardlink images from another source, without copying them to the Stack Exchange Imgur account:
- Use the link tool to make a regular link to the image
- Prepend the link with an exclamation point:
Be aware that the image will disappear if the link gets broken.
Note that the image must come from an HTTPS source in order to show as an embedded image. Images from HTTP sources will show as just a link, to prevent "mixed content" warnings.
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.)
Whenever possible, use the Stack Exchange provided hosting as described above. This ensures images are never lost. Images on many other free image hosters will expire if not requested every now and then. Also, this is useful if your image is from an HTTP source, as images on the Stack Exchange account are from an HTTPS source (see above). The post should be useful for future visitors too.