You are here

function imageapi_optimize_image_effect_info in Image Optimize (or ImageAPI Optimize) 7.2

Implements hook_image_effect_info().

File

./imageapi_optimize.module, line 804

Code

function imageapi_optimize_image_effect_info() {
  $effects = array();
  $effects['imageapi_optimize'] = array(
    'label' => t('ImageAPI Optimize'),
    'help' => t('This will optmize the image using the selected options, this should be the last effect in the preset'),
    'effect callback' => 'imageapi_optimize_optimize_effect',
    'form callback' => 'imageapi_optimize_optimize_effect_form',
    'dimensions passthrough' => TRUE,
  );
  return $effects;
}