Exemplo n.º 1
0
 public function save(array $options = array())
 {
     if ($this->original_height === null || $this->original_width === null || $this->original_size === null) {
         $original_size = getimagesize($this->original_path);
         $this->original_width = $original_size[0];
         $this->original_height = $original_size[1];
         $this->original_size = filesize($this->original_path);
     }
     Parent::save($options);
 }