Where does Dolphin 7 save avater

I  am writing a custom code to call up dolphin 7   user profile avater url

Can someone save me some time by directing me to where dolphin 7 stores avaters

here is the custom code below...

 

function getDolphinAvatar($userid) {
//get the connection to the db
//query db
$db->setQuery('SELECT 'Avatar' FROM #__Profiles WHERE 'ID' = ' . (int)$userid);
$avatar_id = $db->loadResult();
$db->setQuery('SELECT 'Uri' FROM #__bx_photos_main WHERE Owner = ' . (int)$avatar_id);
$avatar = $db->loadResult();
$url = base_path . modules/?r=avatar. $avatar;
return $url;
}

Your Success is permanent when you help others around you to Succeed.
Quote · 26 Sep 2010

Uploaded avatars are saved to /modules/boonex/avatar/data/images/.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 26 Sep 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.