I've been experimenting with sideloading using imgur's API.
$.get("http://api.imgur.com/2/upload.json?", {
url: www.example.com/blah.jpg
},function(response){
var url = response.upload.links.original;
var thumb_url = response.upload.links.small_square;
uploadSuccess(response,url,thumb_url);
});
Unfortunately, I keep encountering a 302 found error:
http://api.imgur.com/2/upload.json?&url=http://www.example.com/blah.jpg
and then it redirects to:
http://imgur.com/upload?url=http://www.example.com/blah.jpg
resulting in it just loading indefinitely.