Fix gallery when no images.