public function returnThumbnail() { $this->setOutputFormat(); $this->createThumbnail(); return $this->thumbnail; }