Pull gallery out of image