From 376184a3c7b5d931b3977c1e2dc911cab8492601 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 16 Jun 2014 14:11:32 +0800 Subject: [PATCH] ux/Lightbox.js --- ux/Lightbox.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ux/Lightbox.js b/ux/Lightbox.js index 1091755dfb..c21bc12f40 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -443,6 +443,11 @@ Roo.apply(Roo.ux.Lightbox.prototype, // once image is preloaded, resize image container imgPreloader.on('load', function() { + Roo.log('this.imageArray[this.activeImage].dom.lwidth'); + Roo.log(this.imageArray[this.activeImage].dom.lwidth); + + Roo.log('this.imageArray[this.activeImage].dom.lheight'); + Roo.log(this.imageArray[this.activeImage].dom.lheight); this.lightboximage.dom.src = this.imageArray[this.activeImage].href || this.imageArray[this.activeImage].dom.href || this.imageArray[this.activeImage].dom.src; -- 2.39.2