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

I discovered a serious bug in chat today: Unicornify Image links are not boxed.

I pasted in the following:


Expecting this:

enter image description here

Instead I got this:

enter image description here

In case you're having trouble seeing it, I've highlighted the problem here:

enter image description here

share|improve this question
This might be more an issue with unicornify, I think chat needs the correct MIME type to insert images automatically. As a workaround try putting ! in front of the link. – Mad Scientist Mar 27 '12 at 13:08
@fab - indeed! – Lix Mar 27 '12 at 13:09
@Fabian I guess that will have to do for now... – fredley Mar 27 '12 at 13:10
+1 for purple unicorn! – Shadow Wizard Mar 27 '12 at 13:13
Unicorns don't MIME, they... – Grant Thomas Mar 27 '12 at 13:14
@Mr.Disappointment SHINE? – fredley Mar 27 '12 at 13:15
Well they certainly don't onebox.... – Lix Mar 27 '12 at 13:16
One does not simply onebox into unicorns – Ben Brocka Mar 27 '12 at 13:37

1 Answer 1

up vote 18 down vote accepted

We don't special case it, indeed (although maybe we could). Adding a leading ! will (as Fabian notes) make sure it knows it is an image:


Other than that, we just try to recognise urls that are likely an image.

share|improve this answer
... although maybe we, ahem should ;) – Matt Mar 27 '12 at 13:25
What's all this "could"/"should" talk? We must do this! – The Unhandled Exception Mar 27 '12 at 14:15
I will make do with using this logical NOT ! sign while I'm NOT a unicorn, but when I become one again, this has to change. – BoltClock's a Unicorn Mar 27 '12 at 19:07
Or an alternative would be appending &ext=.jpg to the URL. – uɐɯsO uɐɥʇɐN Mar 27 '12 at 19:07
@GeorgeEdison H4X – fredley Apr 11 '12 at 13:08

You must log in to answer this question.

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