Please i have this in my controller.
$file = Input::file("image");
$file->move('uploads', $file->getClientOriginalName());
$image_Url = asset('uploads/'.$File->getClientOriginalName());
Buh anytime am uploading an image with a particular size i get an error saying the size is too much to upload. Can anyone help me to resize it when uploading?
@bobbybouwmann i wanted to install image.intervention via composer but cmd gives me an error saying "php composer. Phar require intervention/image could not open input file: composer.phar"
Well this is a composer issue on your end. This has nothing to do with the intervention package. Make sure you are at the root level of your project and run the following
@sid405 sorry, i was off for sometime. but i still couldn't install it. can you guide into the step-to-step of how am going to install the package? or do you have any other way you can help me fix this image resize problem?
@nanadjei2 If you are using Windows and XAMPP, your php.ini file is in the PHP directory of XAMPP, so xampp/php/php.ini is the path. Open it and look for upload_max_filesize. Increase it to your desired value, save and restart Apache.