protected function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
     $this->setOption('file_src', '/images/store');
     $this->setOption('is_image', true);
     $this->setOption('with_delete', false);
     $this->setOption('template', '<div>%file%<br />%input%<br />%delete% %delete_label%</div>');
 }
 protected function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
     $this->setOption('with_delete', true);
     $this->setOption('file_src', false);
     $this->setOption('edit_mode', false);
     $this->setOption('template', '<div>%file%<br />%input%<br />%delete% %delete_label%</div>');
     $this->addOption('controller_height', 25);
     $this->addRequiredOption('file_id');
 }