Lightbox Dead Space


I have found no way to remove dead space in lightboxes when using non-landscape aspect images. The light box is set to “frameless”, and it looks fine with a landscape aspect image…

But with square or portrait aspect images I get these huge side borders…

Which I REALLY don’t want. Any thoughts?






The lightbox doesn’t gracefully handle landscape images as you can see. I’m not sure how to address it but I think the modal needs some additional logic added in order to calculate the width.

It’s on my todo, last time I tried I couldn’t get it working right across all browsers.