OK, I got it working with the picture but the only way which worked for me is to replace the code with this one:
Code:
$template_hook['postbit_userinfo_right'] .= '<div><a href="album.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $post['userid'] . 'rel="nofollow">' . '<img src="images/buttons/add_album.png" border="0" alt="Member Photo Albums" /> ' . '</a></div>';