gallery min-height set on image wrapper to avoid legend button do yoyo before image is loaded