Automatic photoviewer