You are here

function commons_follow_image_default_styles in Drupal Commons 7.3

Implements hook_image_default_styles().

File

modules/commons/commons_follow/commons_follow.features.inc, line 19
commons_follow.features.inc

Code

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

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