You are here

function imce_thumb_submit in IMCE 6.2

Same name and namespace in other branches
  1. 6 inc/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/imce.page.inc
Thumbnail form.

File

inc/imce.page.inc, line 334
Implements the file browser.

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'],
  ));
}