I propose that the "Image size" option in the Gravatar settings is unnecessary. We already have the 'user_picture_dimensions' variable which we should use instead of duplicating an option. The following code
would return a $size parameter, no larger than 512px (the maximum allowed by the gravatar service):

$size = min(explode('x', variable_get('user_picture_dimensions', '85x85')), 512);

Comments

Narno’s picture

I vote for: settings will be more simple and logic.

dave reid’s picture

For now I have added a default option for the size setting to use the existing user picture dimensions, looking at options for removal.

dave reid’s picture

Status: Active » Fixed

Have removed the gravatar_size variable from 6.x-1.x. Will be a change in the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.