End of life
The extension repository for Contao 3 will be discontinued at the end of May 2022!
Extensions > avatarsizer
Add your own dimensions for an avatar
avatarsizer will be discontinued from Contao version 2.9.1 on because there is a much better extension x_avatarresizer which includes the avatarsizer functionality. Please use x_avatarresizer in the future!
This extension allows you to set your own avatar dimensions for the avatar extension. It adds a global configuration array which contains the available avatar sizes. This array can be changed update safe in your localconfig.php by setting $GLOBALS['avatar']['avatar_maxdims'] to an array of your preferred avatar sizes, e.g. $GLOBALS['avatar']['avatar_maxdims'] = array(32, 48, 64, 80, 100, 128, 256, 512);
Initial Release 1.0.0 stable