You are here

function imagecache_resize_form in ImageCache 5.2

Same name and namespace in other branches
  1. 6.2 imagecache_actions.inc \imagecache_resize_form()
2 calls to imagecache_resize_form()
imagecache_scale_and_crop_form in ./imagecache_actions.inc
Imagecache Scale and Crop
imagecache_scale_form in ./imagecache_actions.inc
Imagecache Scale

File

./imagecache_actions.inc, line 14

Code

function imagecache_resize_form($action) {
  $form['width'] = array(
    '#type' => 'textfield',
    '#title' => t('Width'),
    '#default_value' => $action['width'],
    '#description' => t('Enter a width in pixels or as a percentage. i.e. 500 or 80%.'),
  );
  $form['height'] = array(
    '#type' => 'textfield',
    '#title' => t('Height'),
    '#default_value' => $action['height'],
    '#description' => t('Enter a height in pixels or as a percentage. i.e. 500 or 80%.'),
  );
  return $form;
}