but it doesn't work
my code is
function management()
{
$crud = new grocery_CRUD();
$crud->set_table('photos');
$crud->set_field_upload('Image', 'assets/uploads/');
$crud->callback_after_upload(array($this,'example_callback_after_upload'));
$output = $crud->render();
$this->_output_data($output);
}
function example_callback_after_upload($uploader_response,$field_info, $files_to_upload)
{
$this->load->library('image_moo');
//Is only one file uploaded so it ok to use it with $uploader_response[0].
$file_uploaded = $field_info->upload_path.'/'.$uploader_response[0]->name;
$this->image_moo
->load('$file_uploaded')
->make_watermark_text("MatMoo.com", "Midan_4.ttf", 25, "#00ff00")
->resize(400,400)
->watermark(2)
->save($file_uploaded,true);//save_dynamic();
return true;
}
but nothing happend
please help!