... in member.php add after ...
$site_template->register_vars(array(
... this ...
"url_show_user_images" => $site_sess->url(ROOT_PATH."search.php?search_user=".urlencode($user_row['user_name'])),
... now you can use this tags im member_profile.html als link to show all images of current user ...
<a href="{url_show_user_images}">{lang_show_images}</a>