Auto resize image for Yii2