untested profile picture support ported from the yii 1 module version