public function actionProfilePicture($id)
    {
        /** @var ProfileForm */
        $model = $this->module->createFormModel('ProfileForm');
        if (!(($identity = $model->getIdentity()) instanceof PictureIdentityInterface)) {
            throw new ForbiddenException(Yii::t('usr', 'The {class} class must implement the {interface} interface.', [
                'class' => get_class($identity),
                'interface' => 'PictureIdentityInterface',
            ]));
        }
        $picture = $identity->getPicture($id);
        if ($picture === null) {
            throw new NotFoundHttpException(Yii::t('usr', 'Picture with id {id} is not found.', ['id' => $id]));
        }
        header('Content-Type:'.$picture['mimetype']);
        echo $picture['picture'];
    }