You are here

function heartbeat_image_default_styles in Heartbeat 7

Implements hook_image_default_styles().

File

./heartbeat.module, line 735
Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.

Code

function heartbeat_image_default_styles() {
  $styles = array();
  $styles['activity_avatar'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 50,
          'height' => 50,
          'upscale' => 1,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}