Hi Drupal Community-

I am currently using the code below, but it seems kind of long to print this field. Is there a better way to do this?
As a note: I'm using content profile, imagefield crop, imagecache

  $test = $content_profile->get_variable('profile', 'field_profile_picture');
  $test = $test[0]['filepath'];
  print theme('imagecache', 'profile', $test);

Also, I'm printing this on the user-profile.tpl.php page

Thanks a bunch

Comments

rburgundy’s picture

Title: Please support » Please support with code to print field

Realized title was incomplete.