You are here

function wysiwyg_template_image_default_styles in Wysiwyg API template plugin 7.2

Implements hook_image_default_styles().

File

./wysiwyg_template.module, line 468
Makes TinyMCE Templates available as plugin for client-side editors integrated via Wysiwyg API.

Code

function wysiwyg_template_image_default_styles() {
  $styles = array();

  // supply the default image thumbnail style
  $styles['wysiwyg_template_thumbnail'] = array(
    'effects' => array(
      array(
        'name' => 'image_resize',
        'data' => array(
          'width' => 100,
          'height' => 70,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}