Bulk Image Upload NEW Bootstrap 5 theme
Upload multiple files with Drag and Drop Feature
HIDE CODE
<?php $xcrud = Xcrud::get_instance(); $xcrud->table('gallery'); $xcrud->fields('title,description'); $xcrud->change_type("description","textarea"); //Bulk image configuration; //Param 1; true to activate upload //Param 2; Path to store image $xcrud->bulk_image_upload_active(true,"gallery1"); //Param 1; true to allow editing $xcrud->bulk_image_upload_edit(true); //Can edit images //Param 1; true to allow adding images $xcrud->bulk_image_upload_add(true); //Can add images //Param 1; true to allow removing images $xcrud->bulk_image_upload_remove(true); //Can remove images $xcrud->set_bulk_select(false,'id','=','3'); $xcrud->unset_remove(true,'id','=','3'); echo $xcrud->render('edit',3); ?>