How about using Ajax to load an image, an unverified pseudo-code following:
HTML:
<img id="img1" src="blank.gif">
JQuery
GetImage("http://www.something.com/redirect"); function GetImage(url) { $.ajax({ type: "GET", url: url, success: function(data, textStatus) { if (data.redirect) {
Since the browser caches the image, it will not be downloaded from the twize server.
user152949
source share