One simple image extension for Yii framework