Drag and drop file upload in Laravel 6 can be possible by Dropzone js. Dropzone js is an open-source library that provides us a feature for uploading files by drag and drop. By using Dropzone js, you can upload single or multiple files in Laravel 6. Basically, the Dropzone js works with Ajax. That means the selected images or files will be uploaded asynchronously […]
How to Resize Image in Laravel 6 After Upload
If you are uploading the large image file in the server then it will take up extra spaces of the storage. Then why don’t we resize image before upload. So, that it will reduce image size and will occupy less storage. If the webpage contains the low size image, then it will load fast in the webserver. So, if you resize image before upload, it will make your webpage optimized and fast […]
How to Upload Files and Images in Laravel 6 with Validation
In Laravel 6 the file upload is much more secure than the normal file upload in a PHP script. Laravel file upload provides the proper validation before uploading the files. Basically, in the file upload concept, Laravel moves files from the tmp directory to the public directory of the project folder, which is accessible by […]