Laravel: Unsupported image type. GD driver is only able to decode JPG, PNG, GIF or WebP files.
how to fix it

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 codeis 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 usingCURL request to download remote image ( here is example )please make sure that $url of image is https:Some other reasons you can check here:

  • Laravel
  • CURL