public function __construct($file, $name) { parent::__construct($file, $name); $this->info = getimagesize($this->file); }