src/Database/Attach/Media.php
protected function makeThumb($thumbFile, $options)
    {
        $thumbFile = $this->getStoragePath().$thumbFile;
        $thumbPath = $this->getStorageDisk()->path($thumbFile);
        $filePath = $this->getStorageDisk()->path($this->getDiskPath());

        if (!$this->hasFile($this->name))
            $filePath = $this->getDefaultThumbPath($thumbFile, array_get($options, 'default'));

        Manipulator::make($filePath)
                   ->manipulate(array_except($options, ['extension', 'default']))
                   ->save($thumbPath);
    }
protected function makeThumb($thumbFile, $options)
    {
        $thumbFile = $this->getStoragePath().$thumbFile;
        $thumbPath = $this->getStorageDisk()->path($thumbFile);
        $filePath = $this->getStorageDisk()->path($this->getDiskPath());

        if (!$this->hasFile($this->name))
            $filePath = $this->getDefaultThumbPath($thumbFile, array_get($options, 'default'));

        Manipulator::make($filePath)
                   ->manipulate(array_except($options, ['extension', 'default']))
                   ->save($thumbPath);
    }
Generate the thumbnail
@param $thumbFile
@param array $options