private function getGallery(Response $response, $target = '')
    {
        if ($target && $gallery = $this->manager->getGallery(basename($target))) {
            $response->setCwd($this->prepareGallery($gallery));
            $images = $gallery->getImages(true);
            foreach ($images as $img) {
                $this->addImages(
                    $response,
                    $img,
                    $this->driverOptions['rootName'].DIRECTORY_SEPARATOR.basename($target)
                );
            }
        }
    }