1

There is an older question about how to embed images, but it is out-of-date, the system currently goes right to the Imgur panel. When I try to use this to link to an image on the wiki commons, I get an error about it being the wrong format. The images are JPG or GIF, which strikes me as odd.

I suspect the error message is inaccurate, and it is some other problem. But how do I find out what's actually going on?

UPDATE: as requested... this happens all the time, on different images. In this particular case I...

  1. clicked the embed image button
  2. clicked "link from the web"
  3. pasted in https://en.wikipedia.org/wiki/Airfoil#/media/File:Lift_drag_graph.JPG

And then tried to post it. I also tried two other images from different web sites, but I am not sure which ones, it was some time ago now.

  • 1
    Can share what you try to upload? If you use a weblink to a wiki commons "image" it might be that you're actually served an html page with an image embedded on it. Works fine in your browser, not so when Imgur tries to grab that same content as they will see text/html not image/png. But it can be difficult to distinguish upfront, causing the unexpected behavior you see now. – rene May 25 '18 at 16:02
  • Ahh, now I see the problem, you have to click through the image to get the right link. So I guess this is a feature request. – Maury Markowitz May 25 '18 at 16:30
  • And my original post was correct: the error message is misleading. The problem is not the image's format, it's the pages. That should be made clear. Who do I report this to? Is the form a local one, or one that imgur provides? – Maury Markowitz May 25 '18 at 16:31
  • I think it is a bit of both so I'm not sure where this particular check is done. – rene May 25 '18 at 16:32
  • Should I post it as a request here? – Maury Markowitz May 25 '18 at 16:35
  • @MauryMarkowitz We have to clarify where that validation is done in 1st place. Imgur or Stack Exchange. – πάντα ῥεῖ May 25 '18 at 16:53
  • @πάνταῥεῖ - Indeed, but who will do so? – Maury Markowitz May 25 '18 at 16:55
  • Did you tried with a URI without special char, like : ? – yagmoth555 May 25 '18 at 17:28
  • @MauryMarkowitz Well @rene had at least brought it up at a place where a lot of SE Devs frequently appear. – πάντα ῥεῖ May 25 '18 at 17:59
  • Ok, fingers crossed. – Maury Markowitz May 25 '18 at 18:03
5

The link you have is just the link to the Wikipedia page of the image, to open the actual image Right Click → Open Image in New Tab (or just Copy Image Address) and use that link.

In your case the actual link is:

https://upload.wikimedia.org/wikipedia/commons/2/22/Lift_drag_graph.JPG

  • Indeed. And the error message should clearly state this. Something like "the URL you have posted is to a complete web page, not an image". I suspect this happens a lot, a better error would have handy. – Maury Markowitz May 25 '18 at 17:33
  • I don't think Imgur recognizes it, it just recognizes it as a non-image (or bad format). – WELZ May 25 '18 at 17:34
  • No, I get that, this is now a feature request. The question is where such a thing should be posted. – Maury Markowitz May 25 '18 at 18:12
  • @MauryMarkowitz It's likely an imgur FR. (We use their system and it just reports back whatever they say) – WELZ May 25 '18 at 18:13
  • Is the form itself on Imgut too? Or is the form local and calling their API? If it's the later, would it be reasonable to filter some problems on this end? – Maury Markowitz May 25 '18 at 18:15
  • Idk, see the message when you go to stack.imgur.com (maybe ask Alan) – WELZ May 25 '18 at 18:16
  • Asked... we'll see what happens, worst case he'll know where to go for the next step. – Maury Markowitz May 25 '18 at 18:30

You must log in to answer this question.

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