Closed (won't fix)
Project:
Drupal core
Version:
6.4
Component:
user system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 Jan 2011 at 07:16 UTC
Updated:
11 Mar 2015 at 03:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedi have uploaded the pics in the user table under the picture column and saved the files in the sites/default/files/ folder
Comment #2
nagarajanl commentedTry this one in your custom module to display the picture...
function mymodule_user($type, &$edit, &$account, $category = NULL) {
if ($type == 'view') {
$account->content['custom_user_picture'] = array(
'#value' => theme('image', $account->picture),
);
}
Comment #3
Anonymous (not verified) commentedthx nagarajanl 4 the reply so soon but it is not working dear....
Comment #4
nagarajanl commentedThen do some degugging stuff like printing the $accout object and make sure $account->picture has a vaild file (or image ) path.
And follow this link to make sure (http://api.drupal.org/api/drupal/modules--user--user.module/function/tem...) what is going wrong dear....
Comment #5
Anonymous (not verified) commentedk dear ll let u know if i get through to it.....
Comment #6
heine commented1. Please use the module development forum for these kind of support requests.
2. Read the Tips for posting to the Drupal forums.