Your theme's function phptemplate_user_picture() is unnecessary since it duplicates the code that is already run by template_preprocess_user_picture() in user.module automatically.

This causes problems for my Gravatar module users that also use your theme because your theme's function overrides the current user picture.

If you had a reason to include this in your theme's template.php, let me know, otherwise you should really remove it.

Comments

dave reid’s picture

Title: phptemplate_preprocess_user_picture() is unneccessary » phptemplate_user_picture() is unneccessary