Here is a the simpliest way I think:
in details.php find:$in_mode = 0;
Insert above:if ($user_row = get_user_info($image_row['user_id']))
{
foreach ($user_row as $key => $val)
{
$user_row['image_'.$key] = $val;
unset($user_row[$key]);
}
$user_row['image_user_exits'] = 1;
}
else
{
$user_row['image_user_name'] = $lang['userlevel_guest'];
$user_row['image_user_exits'] = "";
}
$site_template->register_vars($user_row);
After that you can use fields name from 4images_users table as template tags with image_ prefix.
i.e. {image_user_name} or {image_user_email}