ux/Lightbox.js
authorAlan Knowles <alan@roojs.com>
Tue, 9 Feb 2021 08:30:33 +0000 (16:30 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 9 Feb 2021 08:30:33 +0000 (16:30 +0800)
ux/Lightbox.js

index 20c1de6..df51b2a 100644 (file)
@@ -445,7 +445,7 @@ Roo.apply(Roo.ux.Lightbox.prototype,
 
         imgPreloader.on('load', function() {
             
-            this.lightboximage.dom.src = this.imageArray[this.activeImage].href || 
+            this.lightboximage.dom.src = this.imageArray[this.activeImage].srcfull  ||  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(),