You are here

function imce_js_resize in IMCE 7

Same name and namespace in other branches
  1. 6.2 inc/imce.js.inc \imce_js_resize()
  2. 6 inc/js.inc \imce_js_resize()

Ajax operation: resize.

File

inc/imce.js.inc, line 54
Handles ajax file operations.

Code

function imce_js_resize(&$imce) {
  if ($imce['perm']['resize']) {
    $_POST['op'] = t('Resize');
    return imce_process_fileop($imce);
  }
}