people_findByEmail($flickr_id); $photos = $client->people_getPublicPhotos($user_nsid, 6, 1); } catch (PAException $e) { if ($e->code != REMOTE_ERROR) throw $e; // a flickr error occurred - we ignore it and pretend there are no photos } } if (!count($photos)) { $output .= "