Active
Project:
Content Profile
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2009 at 08:05 UTC
Updated:
26 Oct 2009 at 15:50 UTC
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
Comment #1
rburgundy commentedRealized title was incomplete.