Update photoviewer.py