When the User Picture Resizer Module is active, the Avatar Selection module stops working.
It would be nice to see them both work together.

User Picture Resizer Module - http://drupal.org/project/resizer - apparently replaces the User Picture upload form with its own and places it as a separate tab on the Edit User account page.

I have opened a similar issue for the User Picture Resizer module at http://drupal.org/node/185712

Comments

stella’s picture

Hi,

I've tested this out and you're correct, the two modules don't work together. I believe it's because of the following function in the User Picture Resizer module:

function resizer_form_alter($form_id, &$form) {
 global $form_values;

 if($form_id == 'user_edit' && arg(3) == NULL) {
  // only fire this if it's user/<uid>/edit, not any other category
  unset($form['picture']);
 }
}

The avatar selection module needs to have the array $form['picture'] in order to work but this module unsets it entirely. I don't believe there is anything I can do to help this. Perhaps follow up with the maintainer of the User Picture Resizer module.

Cheers,
Stella

stella’s picture

Status: Active » Closed (duplicate)

Marking as a duplicate of #185712.