.gallery-fullscreen-slideshow-item img { object-fit: contain !important; }