From 2ec7fda1f146837cf0add1ad7a74f9139583b478 Mon Sep 17 00:00:00 2001 From: Obexer Christoph Date: Wed, 23 Nov 2011 13:49:04 +0100 Subject: [PATCH] replaced external image http://html2canvas.hertzen.com/images/8.jpg with data URI --- src/Parse.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Parse.js b/src/Parse.js index 63c6831..0ef8992 100644 --- a/src/Parse.js +++ b/src/Parse.js @@ -175,9 +175,8 @@ html2canvas.Parse = function (element, images, opts) { - - // TODO add another image - img.src = "http://html2canvas.hertzen.com/images/8.jpg"; + // http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever (handtinywhite.gif) + img.src = "data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACwAAAAAAQABAAACAkQBADs="; img.width = 1; img.height = 1;