Image viewing works finally