When I try to add image from the web with a link that contains special characters (even after encoding), the link seems to be truncated somewhere.

The link that I pasted into the add image box is:


By right, this should show up as:

Original link

But what I got:


If possible, I would appreciate that the following link is supported by the image uploader, too (since this is how Firefox encodes the link):


I don't demand MathJax being loaded for every site, since it sacrifices user experience on sites that don't use them much. I was very tolerant and even write a function to percentage encode the whole query string and run it in the JS console. However, the image uploader doesn't even accept the fully percentage-encoded link, which left me with even more roundabout choices.

  • Can you explain the use case for this? What Stack Exchange site are you uploading this to that does not already support Latex via MathJax?
    – Oded
    Feb 7, 2014 at 14:54
  • @Oded: CodeGolf. Just want to explain something over there. (I'd use MathJax already if it is supported...)
    – nhahtdh
    Feb 7, 2014 at 14:56
  • I see. Simple workaround - save the image and upload it.
    – Oded
    Feb 7, 2014 at 14:58
  • Another workaround, which works at least in Chrome / Win7 (just tested it) is to copy the image itself instead of its URL to the clipboard and paste it into the upload dialog. But I do agree that this should be fixed. Feb 11, 2014 at 16:11

1 Answer 1


Since there is a simple workaround - downloading the image and uploading it via the file browse option, we will not fix it.

This is an edge case, in particular for Latex - that is simply not something that is worthwhile spending a lot of developer time on.

  • So you are telling me to do so for 6-7 images?
    – nhahtdh
    Feb 7, 2014 at 15:01
  • @nhahtdh - I guess so? This is something that may take weeks to find and fix if it ever gets priority, that is.
    – Oded
    Feb 7, 2014 at 15:03
  • Alternatively, @nhahtdh, simply use tinyurl or similar. (It doesn't matter that the link may not be permanent, as the SE image uploader will pull the image over to imgur anyway.)
    – TRiG
    Feb 7, 2014 at 15:03
  • @TRiGisTimothyRichardGreen: That is a solution, but the experience is not that much better, though.
    – nhahtdh
    Feb 7, 2014 at 15:05
  • @Oded: I would probably stick to that this time around, but please don't [status-declined] it so fast. The user experience is extremely horrible without Mathjax already. I resorted to writing a JS function to convert the whole link to percentage escape, but the image uploader doesn't even accept the percentage encoded link.
    – nhahtdh
    Feb 7, 2014 at 15:07

You must log in to answer this question.

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