getphoto() to addmedia page instead of direct upload