It looks like you're new here. If you want to get involved, click one of these buttons!
here the image is uploaded to assets_server_path() not my custom path. The path is correct I have checked.
$upload_image_path = assets_server_path($CI->fuel->settings->get(MY_MODULE, 'asset_upload_path'));
$fields['photographs'] = array('label' => 'Photographs', 'class' => 'multifile', 'type' => 'file', 'upload_path' => $upload_image_path);
function on_after_post($values){on the above code only one image data is displayed and shows the following errors:
$CI =& get_instance();
$data = $CI->upload->data();
var_dump($data);exit;
}
The error repeat = uploaded images number.
Severity: Notice
Message: Undefined variable: field_name
Filename: controllers/module.php
Line Number: 1858
Comments
got the fix. Still some issues. gives data for one image only while I am uploading multiple images.