laravel cropper 问题无法显示全尺寸图像?

laravel cropper issue not show full size image?

我是 laravel 的新人。 我在这里使用 ajax 来获得选择 image.i 我附上图片以供说明。 我的图片未显示全尺寸 :-

public function saveCropImage(User $user) {
    if (!File::exists(public_path() . "/storage/thumbnail/userProfiles")) {
        File::makeDirectory(public_path() . "/storage/thumbnail/userProfiles", 0777, true);
    }

    $image_name = uniqid();

    $crop_destination = public_path('/storage/thumbnail/userProfiles/');

    $image_parts = explode(";base64,", request()->image);
    $image_type_aux = explode("image/", $image_parts[0]);

    $image_type = $image_type_aux[1];

    $image_base64 = base64_decode($image_parts[1]);

    $imageFullPath = $crop_destination . $image_name;

    file_put_contents($imageFullPath, $image_base64);

    return response()->json(['success' => 'Crop Image Uploaded Successfully', 'id' => $image_name]);
}

问题enter image description here如何解决?

尝试更改 viewMode: 2, Cropper 脚本