From ed4f8078a8bca64dd47862a781b2d382b388b32c Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 25 Jun 2015 13:37:18 +0100 Subject: [PATCH] initCanvasImage first --- lib/file-control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/file-control.php b/lib/file-control.php index f32df92..00f26c3 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -185,6 +185,7 @@ if (action=="load") { top.document.getElementById('blackMask').style.visibility = "visible"; top.document.getElementById('mediaContainer').innerHTML = "" + + "\" class=\"whiteGlow\" style=\"border: solid 10px #fff; max-width: 700px; max-height: 500px; background-color: #000; background-image: url('images/checkerboard.png')\" onLoad=\"reducedImgMsg = (this.naturalWidth > 700 || this.naturalHeight > 500) ? ', ' + this.width + ' x ' + this.height : ''; document.getElementById('imgInfo').innerHTML += ' (' + this.naturalWidth + ' x ' + this.naturalHeight + reducedImgMsg + ')'; top.ICEcoder.initCanvasImage(this); top.ICEcoder.interactCanvasImage(this)\">
" + "
" + "" + "

" +