refactored phone and image visualization