lightbox image ratio fix