ux/Lightbox.js
[roojs1] / ux / Lightbox.js
index 475ce0b..bb4687c 100644 (file)
@@ -447,7 +447,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
             this.lightboximage.dom.src = this.imageArray[this.activeImage].href || 
                 this.imageArray[this.activeImage].dom.href || this.imageArray[this.activeImage].dom.src;
             
-            this.resizeImageContainer(this.imageArray[this.activeImage].dom.lWidth || imgPreloader.getWidth(), this.imageArray[this.activeImage].dom.lHeight || imgPreloader.getHeight());
+            this.resizeImageContainer(this.imageArray[this.activeImage].dom.lwidth || imgPreloader.getWidth(), this.imageArray[this.activeImage].dom.lheight || imgPreloader.getHeight());
             imgPreloader.remove();
         }, this);
         imgPreloader.dom.src = this.imageArray[this.activeImage].href || 
@@ -494,7 +494,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
                     
             
         }
-        
+        Roo.log(imgWidth);
         this.lightboximage.set( { width : imgWidth, height : imgHeight });