Content profile image (CCK imagefield) instead of default drupal picture
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.