replaced ViewImage with ViewImageFromGallery and ViewImageFromCamera