简体   繁体   中英

Getting blank page when uploading an image in Laravel

I have a question that concerns an image upload in one of my applications.

I have the issue that if I want to upload a picture that I have exported from iPhoto, the image is not uploaded and I only get a blank page instead. Sometimes I also receive a 500 error in the console.

The awkward thing about this is that images taken from the web and screenshots for example work perfectly.

Does anyone have an idea on this topic? Would really appreciate some thoughts here or ways in PHP to fix something like that.

Could this be a max file size issue, or even a memory issue.

I think you might get a blank screen also if there is a PHP error, with debugging turned off.

Check your script execution time, PHP memory, and max file upload in your php.ini

If smaller images work I suspect is an issue with larger photos.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM