public function resize() { $sizes = $this->transform_args(func_get_args(), 'resize'); $this->parms = array_merge($this->parms, $sizes); $parm = reset(func_get_args()); return parent::resize($parm); }
public function mods_reset() { parent::mods_reset(); $this->remake_cache = array(); return $this; }
public function remove() { $path = $this->path(); $default_image_path = $this->default_image_path(); if (IO_FS::exists($path) && (!$default_image_path || $path != $default_image_path)) { IO_FS::rm($path); parent::set(''); return true; } return false; }