You are here

function image_insert_styles in Insert 7

Implementation of hook_insert_styles().

File

includes/image.inc, line 28
Insert support for ImageField module.

Code

function image_insert_styles() {
  $image_styles = image_styles();
  $insert_styles = array();
  foreach ($image_styles as $style) {
    $insert_styles['image_' . $style['name']] = array(
      'label' => t(check_plain($style['label'])),
    );
  }
  return $insert_styles;
}