Ad

Unable To Read Image From File Laravel-intervention

- 1 answer

I am using Laravel 5.0, and I successfully installed intervention package for Laravel. I can do everything fine except this.

$img = Image::make(Input::file('companylogo'));

I get error

Unable to read image from file ().

Ad

Answer

Try using Request::file('companyLogo'); If still it is not working, then it may be the permission problem. Check for that and also cross-check the type of the file you are uploading.

Ad
source: stackoverflow.com
Ad