Skip to main content
crossorigin.me is havin' issues... It may benefit from a tissue
Source Link

As a temporary work-around you can use a proxy for the i.stack.imgur images. Using http://crossorigin.me/http://cors.io 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://crossorigincors.me/'io?u=' + i.src;
    i.onerror = function() {
        document.write('Error loading image');
    }
};
i.src = 'https://i.sstatic.net/PORPF.jpg';

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';

As a temporary work-around you can use a proxy for the i.stack.imgur images. Using http://cors.io 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://cors.io?u=' + i.src;
    i.onerror = function() {
        document.write('Error loading image');
    }
};
i.src = 'https://i.sstatic.net/PORPF.jpg';

added 99 characters in body
Source Link

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'successfully with: "' + i.src + '"');
};
i.onerror = function(e) {
    i.src = 'http://crossorigin.me/' + i.src;
    i.onerror = function() {
        document.write('Error loading image');
    }
};
i.src = 'http://crossorigin.me/https'https://i.sstatic.net/PORPF.jpg';

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');
};
i.onerror = function(e) {
    document.write('Error loading image');
};
i.src = 'http://crossorigin.me/https://i.sstatic.net/PORPF.jpg';

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';

Rollback to Revision 1
Source Link

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');
};
i.onerror = function(e) {
    document.write('Error loading image');
};
i.src = 'http://crossorigin.me/https://i.sstatic.net/PORPF.jpg';

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

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');
};
i.onerror = function(e) {
    document.write('Error loading image');
};
i.src = 'http://crossorigin.me/https://i.sstatic.net/PORPF.jpg';

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');
};
i.onerror = function(e) {
    document.write('Error loading image');
};
i.src = 'http://crossorigin.me/https://i.sstatic.net/PORPF.jpg';

Please learn the difference between code formatting and snippets.
Source Link
user1228
user1228
Loading
Source Link
Loading