Image CRUD is a simple and easy-to-use library for managing images in your CodeIgniter 4 project. It provides a simple interface for uploading, editing, and deleting images with few lines of code.
Powerful image management with just a few lines of code
$imageCrud = new ImageCrud();
$imageCrud->setTable('photos');
$imageCrud->setUrlField('url');
$imageCrud->setTitleField('title');
$imageCrud->setOrderingField('order');
$imageCrud->setImagePath('uploads');
$output = $imageCrud->render();
Get up and running in seconds with just three simple commands:
composer require grocerycrud/image-crud
cp vendor/grocerycrud/image-crud/src/ImageCrud/ImageCrudPublisher.php app/Publishers
php spark publish
Advanced features with remarkably simple implementation
Image CRUD provides a quick solution for image galleries in CodeIgniter 4 with proven reliability from its legacy codebase. Enjoy drag-and-drop reordering, multiple upload functionality, and a simple API that lets you focus on building your application rather than reinventing gallery management.
Explore FeaturesOur straightforward API reference explains all available functions and their parameters. With simple examples for each method and basic configuration options, you'll quickly understand how to implement Image CRUD in your CodeIgniter 4 project.
Read Documentation