added code for viewing images