Thumbnails helper for Yii2 framework