public function thumbnail($image, $width, $height, $specs) { if (is_string($image)) { $image = new LocalImage($image); } return $this->imageService->getThumbnail(new Rendition($width, $height, $specs), $image); }