replaced external image http://html2canvas.hertzen.com/images/8.jpg with data URI

This commit is contained in:
Obexer Christoph 2011-11-23 13:49:04 +01:00
parent 2a3d6a0a35
commit 2ec7fda1f1

View File

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