Share image visibilty function