I’m also trying to integrate ImageARBehavior with xupload, but if I edit Edit FileARBehavior.php as freedom55 suggested:
public function afterSave($evt) {
//$file = CUploadedFile::getInstance($this->owner, $this->attribute);
//change to
$file = $this->owner->{$this->attribute};
...
I got “Error CException” If anyone know how to fix this please reply. Any help will be much appreciated.