You are here

function imce_thumb_submit in IMCE 6

Same name and namespace in other branches
  1. 6.2 inc/imce.page.inc \imce_thumb_submit()
  2. 7 inc/imce.page.inc \imce_thumb_submit()

Submit thumbnail form.

1 string reference to 'imce_thumb_submit'
imce_thumb_form in inc/page.inc
Thumbnail form.

File

inc/page.inc, line 313

Code

function imce_thumb_submit($form, &$form_state) {
  $form_state['redirect'] = FALSE;
  $imce =& $form['#parameters'][2]['imce'];

  //create thumbnails
  imce_process_files($form_state['values']['filenames'], $imce, 'imce_create_thumbnails', array(
    $form_state['values']['thumbnails'],
  ));
}