You are here

function oa_core_image_default_styles in Open Atrium Core 7.2

Implements hook_image_default_styles().

File

./oa_core.features.inc, line 32
oa_core.features.inc

Code

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

  // Exported image style: oa_medium_thumbnail.
  $styles['oa_medium_thumbnail'] = array(
    'label' => 'oa_medium_thumbnail',
    'effects' => array(
      1 => array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 50,
          'height' => 50,
        ),
        'weight' => 1,
      ),
    ),
  );

  // Exported image style: oa_small_thumbnail.
  $styles['oa_small_thumbnail'] = array(
    'label' => 'oa_small_thumbnail',
    'effects' => array(
      2 => array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 30,
          'height' => 30,
        ),
        'weight' => 1,
      ),
    ),
  );
  return $styles;
}