protected function autoDeleteImage()
    {
        if (config('imageup.auto_delete_images')) {
            foreach ($this->getDefinedUploadFields() as $field => $options) {
                $field = is_numeric($field) ? $options : $field;
                $this->deleteImage($this->getOriginal($field));
            }
        }
    }