For a long time on Stack Overflow, I have been encouraging people to hot-link to images in code samples that involve images. An easy way to do that is to upload the image to the question and then use that link in the code.

This is particularly handy for situations involving HTML/JS/CSS, as well as in any programming language that can easily support hot-linking to images (e.g. Java).

I want to establish a 'Community Wiki' Q&A on SO that includes the image tag, as well as several of the most relevant tags of technologies that can use it (e.g. those listed above), and as an answer, add a variety of 'free for use' images. Animated and non animated GIFs, tile and sprite sets, PNG with partial transparency, JPEGs that can be used in slideshows etc.

The images I am looking to include are either previously generated (by me) using Java, or photographs I've taken (for the JPEGs). They are mostly small in size (WxH) and all under 40Kb (that is the target, at least).

The trouble is, I feel this is skating on the edge of 'off-topic' for SO. Note, I'd prefer not to do such a thread on Meta, unlike How do I create a screenshot to illustrate a post?, but if deemed 'off-topic' for SO, and 'on-topic' for Meta, it will do (though we lose the language tags).

Would such a Community Wiki Q&A be off-topic for SO? (Failing that) Would it be off-topic for Meta?

See also

I was looking over these Q&As to try and find an answer, but none of them address the exact question I need answered.

Image Examples

Definite inclusions

Possible inclusions

  • Pacman open/close mouth animation (the first 4 animated images, or the last 4 non animated images that can be made into an animation). Though I note that 'time and technology' has not been kind to those images (they seem to be reduced to far fewer colors than they originally contained).
  • How to resize text in java (possible - though I can think of better ways to show anything that image portrays).

Rejected for stated reason

  • 2
    There is placehold.it (example: placehold.it/200x200) - generates a 200px by 200px img. Commented Oct 4, 2013 at 5:01
  • @JoshC Java can produce a transparent or black filled image in a single line of code (without hot linking to an 'off site'(1) resource). I am after something a little more subtle.. images in multiple colors or shapes, animated GIFs with/without transparency, JPEGs that are 'pairs' of pictures that be used in image transitions, tile sets, sprite sets.. 1) OK - technically imgur is 'off-site', but I think it is considered to be 'on-site' when it comes to images embedded in SO/SE questions & answers. Commented Oct 4, 2013 at 5:14
  • 1
    I don't know - I didn't fully read what you had written when I suggested that. There are several placeholding image services out there. I do, however, think this is a good idea - having placeholding images on SO.. interesting post 1+ Commented Oct 4, 2013 at 5:17
  • 2
    @JoshC One can use placekitten.com/200/200 for placeholders that are 100% cuter ^_^
    – Sumurai8
    Commented Oct 4, 2013 at 6:45

1 Answer 1


Given this question has not attracted any answers in two days, I decided to go ahead with the 'acid test' and just try it.

See Place for example images for the result.

Whatever the theory is, the reality seems to be that the community will take it gracefully (in accepting it does more good than harm) and not vote to close the question. That is, as long is it is seen to be of value - guessing by the votes.

  • Seems like this could be moved to MSO now that we have it. It is basically meta, though I've never personally thought it a problem to be on the main site.
    – Radiodef
    Commented Oct 25, 2014 at 22:39
  • (The actual Q&A I mean.)
    – Radiodef
    Commented Oct 25, 2014 at 22:45

You must log in to answer this question.

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