Made the Q/gallery clip the images to a variable size viewport