Imgur is blocked by two of the private ISPs we use. Is there a workaround without involving tunnelling?
Bear in mind that Filmot (an Imgur mirror) and Flickr are also blocked.
Imgur is blocked by two of the private ISPs we use. Is there a workaround without involving tunnelling?
Bear in mind that Filmot (an Imgur mirror) and Flickr are also blocked.
Stack Overflow's hosting is managed by Imgur, but it's no longer integrated into the Imgur website in any way. There's no reason to be under imgur.com
, a domain that's likely to be blocked by many internet filters because of the amount of porn it hosts.
Switching to something like http://i.sstatic.net/
should fix this problem. (Imgur uses EdgeCast so IP-based blocks are unlikely.) It would also make their URLs host-agnostic, preventing the need for any more mass-replacements of URLs after this one.
...but for all we know this might violate Stack Exchange's deal with Imgur and be impossible for now.
http://images.stackexchange.com/
is long. http://i.stack.imgur.com
is pretty long, but it's 2/3 the length of your proposal. I suggest http://i.s.tk/
(to be consistent with Imgur's i.imgur
) or http://images.s.tk
to be verbose.
Commented
Oct 21, 2011 at 17:52
![alt text](link)
on one line, so that an inlined link doesn't make it hard to read a paragraph, because I don't want to waste RAM by loading something from a longer domain name, and I want to make my network requests faster. (The last two were a joke, the others weren't).
Commented
Oct 21, 2011 at 18:55
http://i.stack.imgur.com
, rather than http://i.imgur.com
, I was able to persuade our IT people to unblock that particular URL. If your IT folks have a problem with it, just tell them that it's part of Stack Exchange and that Stack Overflow, etc. are hobbled without the images coming through. That should weigh the argument in your favour.
i.redd.it
.
My company's IT admin blocks i.stack.imgur.com, when visiting stackoverflow, the user-uploaded image shows a broken block.
A workaround for me is copying the image url, paste to a new browser tab, add Https in front of it. for example:
https://i.sstatic.net/jbBM4.png
It's annoying, but faster than opening it on my cell phone browser, when I really want to see the image.
$('img[src^="i.stack.imgur.com"]').attr('src';, function() {return $(this).attr('src').replace("http","https")})
. I'm making an userscript for this right now.
Commented
Aug 20, 2016 at 1:25
Here's my Tamper monkey script that replaces imgur links with a proxy search engine links. It works fine for me better than using a proxy.
Proxy search engine: DuckDuckGO
Tampermonkey: Download
// ==UserScript==
// @name imgur to duckduckgo
// @description Replaces all imgur links on reddit with duckduckgo links
// @include https://*.stackexchange.com/*
// @include https://stackexchange.com/*
// @include https://stackoverflow.com/*
// ==/UserScript==
changeImages();
changeAnchors();
function changeImages()
{
var images = document.getElementsByTagName('img');
for (var i=0;i<images.length;i++) {
var p = /imgur\.com/;
var src = images[i].src;
var res = p.exec(src);
if (res!=null) {
images[i].src = 'https://duckduckgo.com/iu/?u=' + src;
}
}
}
function changeAnchors()
{
var a = document.getElementsByTagName('a');
for (var i=0;i<a.length;i++) {
var p = /imgur\.com/;
var href = a[i].href;
var res = p.exec(href);
if (res!=null) {
a[i].href = 'https://duckduckgo.com/iu/?u=' + href;
}
}
}
As a follow up, and a potential answer, I don't think it would "cost" much to buy a new url, and let's call it stackur or something like that to host the images. IT will still have the imgur backend, just a different url.
i.s.tk
(as Kevin Vermeer proposed) or i.sstatic.net
should work just fine.