Here is how to fix intervention image error in Laravel saying:

Intervention \ Image \ Exception \ NotReadableException Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files.

Most likely, your image  that you are trying to use with code



is empty.

If intervention image is not able to open downloaded image, or if the image is with size 0, "Unsupported image type" can occur. In order to fix that, please check if your image is downloaded correctly. Sometimes when you are using  CURL request to download remote image ( here is example )

                    public function url_get_contents ($Url) {
        if (!function_exists('curl_init')){
            die('CURL is not installed!');
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $Url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $output = curl_exec($ch);
        return $output;

please make sure that $url of image is https:

                     $content = $this->url_get_contents(str_replace('http://','https://',$remote_img_path));


Some other reasons you can check here: