You are here

function images_upload_process in Node Gallery 6

We can't put this function to node_gallery.pages.inc because the batch was started after reboot.

Parameters

unknown_type $file:

unknown_type $fid:

unknown_type $num:

unknown_type $context:

1 string reference to 'images_upload_process'
node_gallery_images_edit_submit in ./node_gallery.pages.inc

File

./node_gallery.module, line 433
Node gallery module file.

Code

function images_upload_process($form, $image, &$context) {
  $image
    ->save($form);
  $context['results'][] = $image_form_state['values']['title'];
  $context['message'] = t('Now uploading %node', array(
    '%node' => $image_form_state['values']['title'],
  ));
}