protected function setupTargetPath($image)
    {
        $this->thumbnailPath = dirname($image) . '/' . $this->thumbnailsFolder . '/';
        if (!is_dir($this->thumbnailPath)) {
            $filesystem = new Filesystem();
            $filesystem->mkdir($this->thumbnailPath);
        }
    }