Within the code:
#lightbox-inner .swiper-slide img { max-width: 60vh !important; }You can change the value from 60vh to whatever you need to fit the images how you like. I was not able to recreate the bug on any test site so i don't know why you have this issue. It could be the image files themselves but unsure sorry.
Sincerely Richard