protected function getCropResolver($endpoint)
    {
        $cropedResolver = $this->configuration->getValue($endpoint, 'croped_resolver');
        if (!$cropedResolver) {
            throw new JbFileUploaderException('No croped_resolver configuration for endpoint '.$endpoint);
        }

        return $cropedResolver;
    }