protected function getImageUploadPath()
    {
        // check for disk option
        if ($pathInOption = array_get($this->uploadFieldOptions, 'path')) {
            return $pathInOption;
        }

        return property_exists($this, 'imagesUploadPath')
            ? trim($this->imagesUploadPath, '/')
            : trim(config('imageup.upload_directory', 'uploads'), '/');
    }