You are here

function imagecache_insert_styles in Insert 6

Implementation of hook_insert_styles().

File

includes/imagecache.inc, line 11
Insert support for ImageCache module.

Code

function imagecache_insert_styles() {
  $presets = imagecache_presets();
  $insert_styles = array();
  foreach ($presets as $preset) {
    $insert_styles['imagecache_' . $preset['presetname']] = array(
      'label' => t($preset['presetname']),
    );
  }
  return $insert_styles;
}