Yii2: Auto resize image