16

Imagine a person posting a diagram within a Stack Exchange question. Typically they wind up with markdown like this:

### ![enter image description here][1]

[1]: https://i.sstatic.net/TvhYx.jpg

The problem is that many images are too small when scaled to a normal screen, and we need to click them to make the image large enough to read. Usually this means I replace the aforementioned markdown with an <img> wrapped in <a> tags:

<a href="https://i.sstatic.net/TvhYx.jpg">
<img src="https://i.sstatic.net/TvhYx.jpg">
</a>

That html makes the image clickable:

FEATURE REQUEST

That's too much work. This is a rather common use-case; markdown images should be rendered as clickable by default.

8
  • 4
    If nothing else, at least make it clickable when/if the system scales it down.
    – Geobits
    Feb 21, 2014 at 14:57
  • 5
    The even better solution would be to use one of the auto-generated smaller versions of the image in the post and link it to the full-sized one. There's a feature request for that around somewhere, I think. Feb 21, 2014 at 14:57
  • 2
    Why not [![][1]][1] for a shorthand? Feb 21, 2014 at 15:33
  • possible duplicate of Support showing image in original size in overlay Feb 21, 2014 at 15:44
  • 1
    By default? No. If you want to make them clickable, the system needs to check the image size and determine if it's too wide to fit into the post without being resized. Make that clickable. I think a bunch of normal sized images that weren't resized being linked to their source would be a bit irritating.
    – animuson StaffMod
    Feb 21, 2014 at 16:00
  • @animuson, I would humbly dispute the conclusion that this is a duplicate of the question in Aaron's coment, since that feature request was for all images (regardless of markdown), and this feature request is specific to markdown. It won't bother me to leave it as dup, but it thought it was at least worth pointing out Feb 21, 2014 at 17:23
  • 1
    Yes! I'm bored of doing this manually. Feb 25, 2014 at 22:04
  • @Qantas That's what I do Feb 25, 2014 at 22:05

0

You must log in to answer this question.

Browse other questions tagged .