Skip to main content
4 of 5
added 99 characters in body

As a temporary work-around you can use a proxy for the i.stack.imgur images. Using http://crossorigin.me/ works in the example below.

var i = new Image();
i.crossOrigin = '';
i.onload = function() {
    document.write('Image loaded successfully with: "' + i.src + '"');
};
i.onerror = function() {
    i.src = 'http://crossorigin.me/' + i.src;
    i.onerror = function() {
        document.write('Error loading image');
    }
};
i.src = 'https://i.sstatic.net/PORPF.jpg';