You are here

function imce_thumb_submit in IMCE 7

Same name and namespace in other branches
  1. 6.2 inc/imce.page.inc \imce_thumb_submit()
  2. 6 inc/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 385
Implements the file browser.

Code

function imce_thumb_submit($form, &$form_state) {
  $form_state['redirect'] = FALSE;
  $imce =& $form_state['build_info']['args'][0]['imce'];

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