rm getphoto