Update imageviewer.cpp