get photo tempfile