Content profile image (CCK imagefield) instead of default drupal picture tried what igorik said on drupal.org == http://drupal.org/node/609454#comment-2172258
Placed user-picture.tpl.php in my theme directory and replaced code inside it:

&lt;div class="picture"&gt;
&lt;?php print $picture; ?&gt;
&lt;/div&gt;


to:

&lt;?php
$img_url = $content_profile-&gt;get_variable('profile', 'field_photo');
print l(theme('imagecache', 'msg_profile_pic', $img_url), 'user/' . $account-&gt;uid );
?&gt;


but all what im getting after these actions is WSOD... set to display errors true in index.php, but still can't see any errors. Help me guys! Thanks
To find out errors in WSOD you can look at you Apache Error Log, in Ubuntu you can execute tail -f /var/log/apache2/error.log and you will see the php error.

It's pretty sure the problem come from $content_profile which doesn't seem to be instanciated and thus don't carry the whole content profile object. You can load it using content_profile_load.