public function getThumbnails(FileStorage $entity) : array
    {
        $versions = (array)Configure::read('FileStorage.imageHashes.file_storage');
        if (empty($versions)) {
            return [];
        }

        $result = [];
        foreach (array_keys($versions) as $version) {
            $result[$version] = $this->getThumbnail($entity, (string)$version);
        }

        return $result;
    }