/** * Add the user photo before the user Info on the profile page. */ public function profileController_beforeUserInfo_handler($Sender) { $UserPhoto = new UserPhotoModule(); echo $UserPhoto->toString(); }