Skip to content

Instantly share code, notes, and snippets.

@jrallison
Created January 2, 2011 21:51
Show Gist options
  • Save jrallison/762853 to your computer and use it in GitHub Desktop.
Save jrallison/762853 to your computer and use it in GitHub Desktop.
var image = new Image();
image.src = url;
image.onload = function() {
// Display image
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment