remove redundant styling to images in lightboxes