17

Since i.imgur.com doesn't allow cross-linking anymore, we can't upload images.

Well, we can upload them, but it's useless since they're not oneboxed.

Example: https://chat.stackoverflow.com/transcript/message/18249353#18249353

7
  • 5
    we can upload images they just are not oneboxed proper
    – rlemon
    Aug 12, 2014 at 19:04
  • 1
    I've been able to successfully upload images, it's just getting them to onebox in chat that's the problem. It's weird, because some of the time it works, and some of the time it doesn't.
    – hichris123
    Aug 12, 2014 at 19:04
  • it also appears the issue is just with the chat system and not imgur blocking external links.
    – rlemon
    Aug 12, 2014 at 19:06
  • Is there anything the dev team can do about it, except to contact the imgur dev team? Aug 12, 2014 at 19:06
  • An "extreme" idea could be to change image "provider" altogether.
    – user3717756
    Aug 12, 2014 at 19:23
  • 4
    This looks like corrupted thumbnails, which I think imgur creates for us (and something we just recently started using); pinging the resident chat expert. Aug 12, 2014 at 20:10
  • Now re-enabled (see update) Aug 16, 2014 at 8:14

1 Answer 1

10

As Jarrod correctly notes, this appears to be a bug at the imgur thumbnailing process - completely without any evidence I'm going to blindly speculate that it is a race condition where we are requesting the thumbnail immediately after upload, since I can't repro it if I space out the upload and thumnbail request.

I will disable the thumbnails for now, while I investigate.


Update: imgur have very kindly made some changes at their end; thumbnails are now re-enabled, with some extra tweaks too:

  • outputs protocol-relative links
  • works for all i(.*).imgur domains, not just i.stack.imgur.com
  • detects and handles any existing thumbnail suffix on the url
19
  • Thanks! Great to see you working on it :) Aug 12, 2014 at 20:36
  • @FlorianMargaine it is disabled for now Aug 12, 2014 at 21:05
  • @MarcGravell I appreciate very much your work adding this feature and am sorry that it has caused an inconvenience for other users due to that bug. Hope imgur can take action and have it fixed.
    – Prix
    Aug 12, 2014 at 21:23
  • @Prix me too! it is a good feature, if it works Aug 12, 2014 at 21:36
  • @MarcGravell would it be possible for you to make the opposite? If the image was posted as the smaller version on the chat, change the link to the bigger size as it would not break anything? But to any image hosted on imgur instead of just stack.imgur? This way I can have my own gallery and post the smaller image which would be automatically linked to their respective original size when clicked
    – Prix
    Aug 15, 2014 at 14:47
  • So what you mean is: any link to ...blah/([0-9a-zA-Z]{5})[stbmlh]?\. should use $1m as the thumbnail and $1 as the link? sure, yes. I should also make both thumbnail and link protocol-relative at the same time, since we know imgur is ok with that (other providers may not be, so we should preserve the protocol of the supplied image) Aug 15, 2014 at 14:52
  • @MarcGravell because I plan on using my own imgur account to upload images to my gallery, then if I post this image i.imgur.com/t0wj1Gkm.jpg it would link to its normal size like this [http://i.imgur.com/t0wj1Gkm.jpg](http://i.imgur.com/t0wj1Gk.jpg) hence the "url destination" would have the M removed from it. So yes $1m as thumb and $1 as link and that would not break the upload or viewing images :)
    – Prix
    Aug 15, 2014 at 15:03
  • @MarcGravell just for imgur but not limited to the i.stack.imgur address if possible, let me know and once again thx for the feedback ;)
    – Prix
    Aug 15, 2014 at 16:18
  • @prix sounds reasonable Aug 15, 2014 at 17:02
  • @Prix try now; should work Aug 16, 2014 at 8:11
  • @MarcGravell awesome its working just fine, thanks a lot. I did like to take this opportunity and ask you what would be required to have this question feature implemented(if you could give me a rough idea would be enough)? meta.stackexchange.com/questions/232072/…
    – Prix
    Aug 16, 2014 at 8:20
  • @MarcGravell nice tweaks very nice they took the time to investigate the issue and improve it.
    – Prix
    Aug 16, 2014 at 8:31
  • 1
  • 1
  • 1
    @hichris imgur are investigating a possible cdn caching issue here Aug 19, 2014 at 20:40

You must log in to answer this question.

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