protected function init()
 {
     $options = $this->getRequest()->post();
     $class = 'photosImport' . ucfirst($options['transport']) . 'Transport';
     if (class_exists($class)) {
         unset($options['transport']);
         $this->data['transport'] = new $class($options);
     } else {
         throw new waException('Transport not found');
     }
     $this->transport =& $this->data['transport'];
     $this->transport->init();
     $this->data['current'] = 0;
     $this->data['count'] = $this->transport->count();
     $this->data['type'] = 1;
     // album
 }