10-04-2019, 05:00 AM
Lots of good resources already. I’ll plug my CodeIgniter 4 Files module - it uses DropZone as the front-end which handles slicing into sizes that you configure. There’s a fair amount about it that is preset at the moment, but you can reuse the views wherever you like (or merge and edit) if you need this embedded in an existing page.
https://github.com/tattersoftware/codeigniter4-files
https://packagist.org/packages/tatter/files
composer require tatter/files
https://github.com/tattersoftware/codeigniter4-files
https://packagist.org/packages/tatter/files
composer require tatter/files