Currently the profile picture size is hard coded. I propose to create configuration options to define the default sizes for the profile pictures.
This will require the addition of a configuration page:
Site Admin..>Users>Accounts> Profile Settings
Profile Pictures:
Default Size:
Small Image Size: (35px default)
Large Image Size: (100px default)
This can be the basis of other generic profile configuration settings as well.
These configuration settings would replace the default sizing values used in the process_new_icon function of \lib\gdlib.php.