file processor (upload files, crop images) for yii framework