Integrated image viewer and added a file upload functionality.