diff --git a/lib/file-control.php b/lib/file-control.php index fe1572c..d0daa32 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -349,7 +349,7 @@ if (action=="load") { if (fileType=="image") { 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')\" onClick=\"return false\">
"; + 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')\" onClick=\"return false\" onLoad=\"reducedImgMsg = (this.naturalWidth > 700 || this.naturalHeight > 500) ? ', displayed at ' + this.width + ' x ' + this.height : ''; document.getElementById('imgInfo').innerHTML += ' (' + this.naturalWidth + ' x ' + this.naturalHeight + reducedImgMsg + ')'\">
"; } top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);